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 QTP recognizes Objects in AUT?
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .
desribe a situation where u faced a stressful situation and how did u cope with it
Hi all, In Every interview interview asking one question what type of challenges you have been faced in your project?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
suppose i can done the project in automation tool with QTP in that time what i can say?
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position part2:maore than the answer for this question i want the the reason why testers go for this kind of risk.what is the use of we testers having these kind of attempts.is that not the problem with the developer .pls answer .real time users of tools.in which way these solutions help to test with r without affecting the developed souce code.
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting
How to use debug tools?
write a qtp code to count the number of child objects in login page and highlight it