Can any body tell me how can I choose the share object
repository and per action object repository mode. Please
give me with steps.
Answers were Sorted based on User's Feedback
Navigation:
test--> settings-->resources tab-->in that we will have
per action,shared.
PER ACTION:
.when we r working with single action tests
.we except tht the obj will not modified continusely
.if we r new to quick test and performing simple
recording and play back then select per action type
SHARED:
.if we r working with multiple tests
.we except tht the obj r modified continusely
.if we have less number of obj and more test scripts
.if we r expatised in quick test then select shared type
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sivakumar.
In QTP, default mode is per-action. We have a multiple
actions within the same script, each and every action
contains separate object repository. In per-action both
script and object repository both are tied with each other.
If you choose as shared object repository, all actions
contains only one object repository. We can use this object
repository to any actions, and memory is also save. Here
script and object repository both are independent with each
other.
Go to test menu --> click resources tab --> you can
view shared or per-action object repository.(In QTP 8.2 version)
| Is This Answer Correct ? | 0 Yes | 0 No |
For which type of projects the iterative model is not suitable?
can the activities of test case design be automated?
can u write one user defined function for webedit class.
Explain in brief about the quicktest professional automation object model?
where we save the scripts created in one project?
How u do the back end testing in QTP?
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
What is InStr()
When do go for loop condition in test?
How to get the run time object property without using GetROProperty
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
How to create an Action Template?