this q asked in applabs, q is: QTP should open google.com
page and enter "qtp" in one edit(search) box and click
search and should open google.com again and enter "job" in
edit(search) box and click on search. I tried this but
getting error "Edit(search) box matches more than one
object", could anyone this question plz..
Answer / alagu palaniappan
Hi,
For this u have to use regular expression in the editbox
if u use regular expression u can give dynamically changing
values that qtp can also able to identify
ALAGU PALANIAPPAN
CHENNAI
| Is This Answer Correct ? | 2 Yes | 0 No |
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What are the environments supported by vbscript language?
How to assign a date value to a variable?
What if you do not specify anything when you call a procedure?
Explain about tristate constants?
accept a string & display whether a is present or not
How to declare an array in vbscript?
What are string functions in vbscript?
What is vbscript?
How to replace junk code recorded by QTP with a mall function.
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me