in login module login button chage regularly(means login
button change to submit button).What is the code for it.
Answers were Sorted based on User's Feedback
Answer / ramchandra patil
Hi,
If the buttons label changes from login to submit then u can use descriptive programing by creating object without using label property. U can use below code.
Set objButton=description.create
objButton("micclass").value="webbutton"
objButton("name").value="namepropertyvalue"
Browser("").page("").webbutton(objButton).click
Pls let me know if u have ny doubt...
Ram
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
1.Suppose some point of time ,test engineer will come to know,"login" button name changed to "submitt",then test engineer can intimate developer,if any changes are made by developer,it will affect testing also. we can request developer,if developer makes changes for the old fucntionalities,could u plz inform testing team?
according test enginner can change in the script.
2.If any button names are changed by developer,developer will intimate automation test engineer regarding about any changed made to object name usually.
Is This Answer Correct ? | 0 Yes | 0 No |
How is GC reddy online program Will i get placed How are the placements.
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
For which type of projects the iterative model is not suitable?
What is the difference between browser sync and page sync in QTP?
How to use Regular Expressions in QTP
hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages are displayed which qtp is not differentiating or it is not recognising. how do i make it recognise different popup errorm messages while writing script?
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please..........
without Qtp features can we automated?
How u perform Batch Program in QTP?
What is the difference between Dim And Redim
4 Answers Hotel Jobs, IBM, Microsoft,
Is it possible to call out to Java from QTP?
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"