write vbscript on veb applications in qtp with exapmles?
Do u want simple script....
For Login ....
browser("XXXX").page("XXXX").webedit("hgshad").set "hdsfajf"
browser("XXXX").page("XXXX").webedit("dsadsagd").set "dlskajdl"
browser("XXXX").page("XXXX").webImage("dasada").click
to count No. Of Links in WebPage..
set objlink = description.create
objlink('html tag").value = "A"
set n = browser("XXXX").page("XXXX").childobjects(objlink)
c = n.count
msgbox c
like this we write script for testing web applications..
these are the sample scripts only...
If any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
Name the properties you would use for identifying a browser and page when using descriptive programming?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
diff between qtp versions from 8.5
how do pass parameters from one action to another action
How can you write the scripts that operate on different objects depending on run-time information?
with out using import sheet came is it possible to get the excel sheet ?
How do u write script in qtp? where do u write?
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot
How 2check the color of the text in the textfield . say suppose the text entered in the textfield object is appearing in red. so i want to check whether the text is in red color or not. It could be great help for me if any one solve's my issue. plz...help
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.
QTP in mumbai