How i can verify second browser tab elements and switch back to first browser tab
Hi,
I am working with complete descriptive . Below is my sample code
Browsers.Item(btChrome).Run("URL")
Set oBrowser = Sys.Browser("*")
Set oPage = oBrowser.Page("*")
Set obj= oPage.Find(arrPropNames, arrPropValues, 90, True)
If obj.Exists Then
obj.Click
end if
everything is working perfect if i am on single browser window . There is one scenario where if i click link it will open one more window where i need to validate some elements and switch back to first one for further validation
.Find not able to recognize objects in second browser window
Note :
1.URL is dynamic so i cant use url while creating page object
any better suggetion without using URL as property
2. I should not use name mapping
in UFT we have creationtime so we can easily do that but in testcomplete so many complications