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 |
how to test background color and dynamic images during runtime
what is Synchronization point in QTP?Can anybody give a perfect example on it Thanks in advance
What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?
In website, protocol has been changed http:to https what you will do? tell me your approach?
Why qtp the best testing tool?
can any one explain with an example how to test Web application using qtp
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?
what are recovery management techiniques?
2 Answers BirlaSoft, GL Noble Denton,
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?
anybody give me the real time example for descriptive programming of web application
what skills needed to be good test automation?