write vbscript on veb applications in qtp with exapmles?
Answer Posted / nanda
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 |
Post New Answer View All Answers
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Describe how Smart Identification is used
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to create a standard checkpoint ?
write a script to verify the image path(src property) of the images which are in web pages.
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
What is qtpro? What is quick test pro?
How to find the name of the machine where you are running your automation scripts in qtp?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
What are the different types of qtp test assets and their extensions?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Tell some commonly used Excel VBA functions?
How to find the length of the string in qtp?
How to use setroproperty?