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 |
How can i store runtime value through vb script while using qtp
hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id venku_krs@yahoo.co.in
take one example and write vbscript on one web application in qtp? explian descriptive programe with one example?
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
13 Answers College School Exams Tests, Mind Tree,
how to merge object repositories in qtp for n different applications
How do you return a value from a function
IS standard check point is very important than the other check points in QTP? If so why?
What frame work ur using in QTP in ur current company?
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table
what will be there in keyword view and expert view?
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
How did u write macros?What is the main importance of VB macros in testing environment?