Is it possible to change the name of a test object. I mean
when we are recording the script for an object (for Ex:
Username is a text field which has value "Babu",i am
recording that). Then the Name of the object will become
"Babu" in object repository. If i want to change "babu" as
"xxxxx" .. is it possible to do?
Pls help me in this .. if you didn't understand the
question, pls let me know.
Answers were Sorted based on User's Feedback
Answer / rayudu
Yes, It is possible..
Go to repository then right click on the perticular object.
Then rename it.After that write the script, it displays the
changed value.
ie...If you changed the browser("babu") as browser("xxxx")
It displys browser("xxxx")
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / jay prakash
it is possible.
Resources -> Object repository -> Select the particular
object and in the Name field Change the name.
It will work.
Please let me know if it satisfies your query.
| Is This Answer Correct ? | 2 Yes | 1 No |
Dialog("Login").WinEdit("User Name:").Set "babu"
Dialog("Login").WinButton("OK").Click
In expert view
No need to change anything in OR. U can change "babu" as "XXXX" and run it will run in u r text field as XXXX instead babu.
In KeyWord View
go to keyword view in Value column select value configuration button in constant babu will be there erase it and type XXXX and then run it, it ll run as in edit field as XXXX..
Hope u Understood....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shaik mohinuddin
By using Regula Expressions :
Go OR ->property value and press configure button then it will open value configuration options window and select constant radio button selected by default and we can put. * and select check box like Regular Expression and click on ok
| Is This Answer Correct ? | 0 Yes | 0 No |
what the diffference between test data and test cases what is meant by object hierarchy in qtp
How does qtp identify gui object?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
what is the smart identification techniqu?what r the different mechanisums used in it?
What is descriptive.create () in QTP?
Recovery Manager means..?
How does QTP identifies the object in the application?
what r the send key commands in QTP why they r used
How to find the length of the string in qtp?
How to give Table check points?
how qtp handles customised object
Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya