I am testing a website TheLancet in qtp 9.2 and running a
script but its not working.Tell me if m doing anything wrong
in the script.
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"
Answer Posted / siva
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
then
msgbox "object exist"
Else
msgbox"object doesnt exist"
Here Script having syntax error i.e there is no Endif statement.I am guessing this error.plz tell me is there any other.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the various automation frameworks available in qtp?
Name the properties you would use for identifying a browser and page when using descriptive programming?
What is QTP testing process?
Give me some real time point of way where exactly we can conduct audits?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
How to use the object spy in quicktest professional 8.0 version?
if numbers are always changing write a script for that
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Dis advantages of XML checkpoint ?
What is text/text area checkpoint?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Explain the views in the QTP GUI?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
What are the flaws in water fall model and how to overcome it?