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 to associate shared object repository to test in qtp?
How do I get the QTP scripts result in xml format by using vb script function?
where is the bitmap checkpoint be saved
How do we handle run-time errors?
How to create Reusable and Multiple Actions?
Explain hybrid framework with advantages and disadvantages?
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
What is throw object?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to make an Action as reusable?