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 |
What is the Difference Between Quick Test Pro and Quick test professional?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How Does Run time data (Parameterization) is handled in QTP?
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
Explain how qtp identifies object?
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp
What is test object model in QTP?
how can we handle errors other than using recovery scenerios in qtp
Explain the qtp test phases.
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code
Explain the parameter in qtp?
How does qtp identify the object in the application?