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 to get Traceability matrix from TD?
Explain actions in qtp ?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
How do you open adobe acrobat file in QTP and do some testing on that file ?
Can we Test Welcome Screens and Process Images with QTP
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
How are actions and functions different in QTP?
Explain runtime dynamic settings?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
What are the benefits of quick test pro(qtp)?
How QA specialist can identify when programmatic descriptions are useful?
How to interact tool & application build in QTP?
How to add verification steps to tests?
What is the recovery scenario in qtp?