Forum Discussion
Sorry use this Url instead
http://www.sarahraven.com/flowers/plants/roses/rose_roseraie_de_lhay.htm
as you can see when you run it that it works fine on a normal IE browser but when trying to use a inPrivate IE browser it can't recognise it
I suspect that IE prevents Test Complete from working correctly in Prviate Browsing.
Other plugins also don't work.
- Adil10 years agoOccasional Contributor
Hi
I've amend it to the following it worked twice but not it isn't working please help.
i need a way to search for a button on a webpage and then be able to click it
sub test3
Set Page = Sys.Browser("iexplore").Page("*")
' Using the Find method'Set myBtn = page.NativeWebObject.Find("innerText", "Buy","BUTTON")
set myBtn = sys.browser("iexplore").page("*").find("Innertext", "Proceed to secure checkout", 906)
log.Message(myBtn)
' Checks if the button exists
If myBtn.Exists Then
myBtn.Click
Else
log.Error(BtnName & " Button does not Exist")
End If
End Sub- TanyaYatskovska10 years agoSmartBear Alumni (Retired)
Hi,
I’ve just checked, TestComplete 10.6 can see all the objects inside IE 11 opened in the InPrivate Browsing mode. Could you please explain what exactly doesn’t work in your case? If you get the Object not found error when executing, perhaps, you need to consider using another (unique) property to identify your button.
- Adil10 years agoOccasional Contributor
Hi Tanya
All objects are visible but for some reason it can't seem to locate the button inPrivate mode i've even tried the Id but still seems to miss it do you have any suggestions?
I'm simply trying to create a function that allows me to search for a specific button on any page I view.