1. In build1 there is a page with two check boxes and
a submit button. You have prepared a script for that page
and its working fine. In Build 2 the developers have added
two checkboxes in the page. Will the script prepared for
Build 1 work for Build 2 or not. If yes, why and if No,
why. Remember the developers have not touched the object
properties of the textboxes in the page.
Answers were Sorted based on User's Feedback
Answer / rayudu
Yes, Exactly!.It will work if you have written a
descriptive programing.
Write a code in descriptive programming to find out the no
of Check boxes using child object method.It will work for
not even two, Any no of Check boxes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / litan
Its all depends how you developed the Script.
If you are not using Index Property for the checkbox,Then
it will wotk.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sureshsinghbhandari
Yes it will work,
As the Object and their properties (Properties of Checkbox like "html tag, name, type") are not changing by adding 2 more checkboxes.
If we are using DP and using Index property of the checkbox on then on adding 2 new the code might be work or not; its depend on the Place of the new checkbox, which might change the indexing of the previous boxes.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to save your test using quicktest professional (qtp)?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
How to interact tool & application build in QTP?
What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.
In a webtable,a list of values are there,rightnow one values shows,later random another values shows,but how to retrieve the random value in webtable.
can u write one user defined function for webedit class.
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?