|
INTERVIEW QUESTIONS
TESTING
QTP
DETAILS
Question: I have a list box control displayed in the .net application. Each and every items of this list box is a combination of check box and label to its side. QTP is recognising an item selected on record in terms of coordinates. I want to know that how can i make QTP identify the selection so that i can go for parameterization.
Answer: Actually the Webcheckbox is within a table. So we cannot directly access the checkbox using GetCellData. So we have to identify it as a checkbox object and then parameterize the object using the datatable or which ever way you like it.
Set Z = Browser("Payroll").Page("Payroll_Main").WebTable("PayStub").ChildItem(row,col, "WebCheckBox", 0) Z.set trim(DataTable("Column_Name",dtGlobalSheet))
|
|
|
Category |
QTP Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7672 users |
Added on |
7/21/2011 |
Views |
68382 |
Rate it! |
|
|
Question:
I have a list box control displayed in the .net application. Each and every items of this list box is a combination of check box and label to its side. QTP is recognising an item selected on record in terms of coordinates. I want to know that how can i make QTP identify the selection so that i can go for parameterization.
Answer:
Actually the Webcheckbox is within a table. So we cannot directly access the checkbox using GetCellData. So we have to identify it as a checkbox object and then parameterize the object using the datatable or which ever way you like it.
Set Z = Browser("Payroll").Page("Payroll_Main").WebTable("PayStub").ChildItem(row,col, "WebCheckBox", 0) Z.set trim(DataTable("Column_Name",dtGlobalSheet))
Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How to pass parameters from one test to another test in QTP
|
View Answer
|
|
What is the limitation to XML Checkpoints?
|
View Answer
|
|
While opening a large script which contains call to external actions QTP hangs. The same problem iam facing when i call an external action. I want a solution to this problem
|
View Answer
|
|
How to execute a Parameterized SQL query in QTP script?
|
View Answer
|
|
How do you export object repository?
|
View Answer
|
|
What is the function for loading a repository in QTP
|
View Answer
|
|
While running a script on QTP 8.2 i got this run time error "General run error". What may be the cause for this error? and How to resolve this error?
|
View Answer
|
|
I'm facing problem while executing QTP recorded scripts in SAP transactions.Please let me know if someone is working on QTP for SAP testing.
|
View Answer
|
|
I am create the test script in qtp.?when i am open the it is telling readonly mode now i want to modify the script?can any one explain the process.
|
View Answer
|
|
What are the check points can be inserted without recording?
|
View Answer
|
|
We have readonly mode I want to modify my script I want to change it to writeonly mode can anyone give me the process.
|
View Answer
|
|
What is logical name of the object
|
View Answer
|
|
How to use virtual object in my script? I had created one virtual object through using virtual object wizards.It is created successfully.After that i dont know how to use that object in my script.If any one know then pls tell me.
|
View Answer
|
|
Using the single script in QTP, How could you know the proper tab index order of the consicutive four edit boxes which are in a web page ?
2) A project is crashed frequently before you are taking that project for automation testing. On that time, What would be your desicion as automation test engineer ?
|
View Answer
|
|
I m trying to add one new property in webEditbox. it is added successfully. after that i m trying to access from my script but it is not identified my run-time property value for that new property.If any one know pls let me know
|
View Answer
|
|
In what instancesdo we use virtual object wizard?
|
View Answer
|
|
what is the difference between Winrunner & QTP? what is the advantage of using QTP then winrunner?
|
View Answer
|
|
What is the difference between qtp script and vb script?
|
View Answer
|
|
When will writing automation scripts starts, Is it before coding Phase? or After Coding Phase? Without seeing the UI screens how will write automation scripts,Is it possible to write test scripts without GUI Map file(WR) or Object test repository(QTP
|
View Answer
|
|
How can I implement error handling in QTP and
How to recall a function in QTP
|
View Answer
|