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 |
hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.
How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.
What is the limitations of BVA?
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please..........
Ehat is the descriptive programing in QTP?
Explain the concept of object repository?
Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?