can any one tell me what is syntax error in line
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
'code **************
Call login("lal="," " )
wait(5)
Call errormsg("Invalid email address. [?]" )
Function errormsg(msg)
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
if msgexist then
Reporter.ReportEvent micPass,"enter valid username or pwd
",msg
else
Reporter.ReportEvent micFail, "entered valid uname and
pwd",msg
end if
End Function
Answer Posted / ashok kumar
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement("innertext="&msg).exist
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to customize qtp?
Have you faced any problems with object repository?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How many types of recording modes in qtp?
What is the architecture of your project? Can any one answer for this question plz........
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Where we can use the synchronization?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
What is checking bitmaps?
By using QTP can we record any log files written by the application which is in execution?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Do you know how to connect database? Can you tell me the procedures?
How can I import environment from a file on disk?