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 / shaik mohinuddin

innertext:=

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1360


Explain advantages and disadvantages kdf?

527


What are the key points to create a framework in QTP for oracle forms?

1811


What is regular expression?

579


Explain about the quicktest professional (qtp) automation object model?

568






How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1283


How to open a new test using quicktest professional (qtp)?

533


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3494


What is a checkpoint? How many check points are there in qtp?

530


Can I change properties of a test object?

629


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1587


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1468


How do we analyze the checkpoint results?

586


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1904