Contributions
Working on multiple tabs
I am looking for a Vb script code for dealing with multiple tabbed browsing. 1.How to activate a perticular tab? 2.Look at the following code Browsers.Item("chrome").Run("https://www.google.co.in/") Set pg=Sys.Browser.Page("https://www.google.co.in/") Set myBtn=pg.NativeWebObject.Find("name", "btnK", "INPUT") '' Checks if the button exists If myBtn.Exists Then MsgBox "hi" myBtn.Click End If ''the above code successfully seraches for the search button sys.Browser.BrowserWindow(0).Keys("^t") Sys.Browser.ToUrl("https://www.google.co.in/") Set GetSelectedTab=Sys.Browser.Page("https://www.google.co.in/") Set img1=GetSelectedTab.NativeWebObject.Find("name", "btnK", "INPUT") MsgBox img1.exist 'same google page but button search failes 'may i know the reason for failure on the second instance? Thanks, Hanumantha1.1KViews0likes3CommentsNeed help to automate with Test Complete
Hello, I am new to Test complete with rich experence in other automation tools. I need some help in automating web application. 1.I need to achive something like this. browser("").page("").Webedit("SomeProperty1=Somevalue1","SomeProperty2=Somevalue2").Click. Note that,this object is dynamic and properties are bound to change and objects are not stored in Object repository. I dont want to use Find method. 2.How to write keywords in Test Complete. something like ClickOnButton(Property of button){ Browser().page.WebButton("property Passed").click ''I dont want to use find method,here and dont want to use object mapping. }Solved1.5KViews0likes3Comments