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
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
if numbers are always changing write a script for that
What is an optional step in qtp ?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
Can you list some technologies that support qtp?
What is 'sleep' in sync point?
Explain different types of action in qtp?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
Explain the concept of object repository and how quicktest professional recognises objects?
What is synchronization? What are the ways you can synchronize?
What are test settings and global settings?
What is active screen?
In qtp, explain what is qrs file?
what is clean sweep?
explain how to write vb script in qtp?when will you write own script?