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"
Answers were Sorted based on User's Feedback
Answer / reddy
If Browser("TheLancet.com - Home Page").Page("TheLancet.com
- Home Page").Link("Clinical").exists
Here no "exists" just "exist"
Is This Answer Correct ? | 5 Yes | 0 No |
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 |
Explain QTP using different development techniques ?
Why use Regular Expressions?
what are the disadvantages of qtp? can linux support qtp9.2? how could get web address throu vbscript?
How can we record an edit box in the Web application ?
What are the Features & Benefits of Quick Test Pro ?
Explain the keyword createobject with an example.
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
Hi How to retrieve data from web element line by line?
There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?
Explain about the test fusion report of quicktest professional?
How to verify the Cursor focus of a certain field?
Hoe can we do retesting using functions please give the code for it using login page