Hi all,
I am trying to identify the objects under SAPNavigationBar in CRM Web portal Module. I had been using the below code for some time now (since 2018) and it all had been working fine so far.
But now all of a sudden UFTOne 2022 has stopped recognizing the objects under SAPNavigationBar in CRM Web portal Module.
Code being used;
If Browser("name:=Identify Account.*").Page("title:=Identify Account.*").Exist(25) then
Set objNavBarItems = Browser("name:=Identify Account.*").Page("title:=Identify Account.*").Frame("title:=Identify Account.*").SAPNavigationBar("Class Name:=SAPNavigationBar","logical name:=SAPNavigationBar","html id:=th_l_navcontainer").Object.getElementsByTagName("a")
objCorrectItem = ""
For j = 0 To ubound(strNavigateTo)
For each objNavItem in objNavBarItems
If objNavItem.Title = strNavigateTo(i) Then
objCorrectItem = objNavItem.Title
objCorrectItem1 = objCorrectItem1 & objCorrectItem
Exit for
End If
Next
Next
End If
End If
Kindly help.
Thanks,
-raghav