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 |
Hi, It is HR question. What are the qualities you like and dislike in your Project Manager?
how i will connect oracle or microsoft acess database through manually written Script
what type of application we can select for automation testing and what is the entry criteria for automation
How to create a standard checkpoint ?
I want to assign values in a table in my software, in first column i will give values, table is of 4x4 i.e 4 row and 4 columns, i m using VBScript in my automation work. it is a simple table for giving values.
How many types of recording modes in qtp? Describe each type with an example where we use them?
How to Practice QTP Scripts?
Explain types of descriptive programming?
How do you use the parameters.input parameters and out put parameters.
Scripts for Ascending order in qtp.
What are the factors on which script execution time is dependent?
How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......