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
How does qtp identify gui object?
Explain quicktest professional (qtp) testing process?
How do you configure QTP AND Test director?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What is synchronization point in QTP?
How many add-ins comes by default with qtp?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How to execute a winrunner script in quicktest professional?
how did u use automating testing tools in ur job?
How did you resolve conflicts present in Object Repository?
How would you directly trigger javascript in a test?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
What is qtpro?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?