I'm quite new at QTP. Im doing a web-based app testing. I
create something new item and a new link is created in the
home page. This link is dynamic as it changes every 3
seconds. Obviously the new link is not in my Object Repo
and I am trying to find a way how can I do a check or get
the propery of the link I created. I can do it on keyword,
but I need to do a check on expert mode, vbscript. I always
get an error that is not identified whenever i try to check
it (browser(b),page(p).link(newlink). Any idea?
Answers were Sorted based on User's Feedback
Answer / qatechie
I think using descriptive programming can provide you a
solution.
Try to create a Description object for the link. Since the
url/link is dynamic, use the regular expression to find this
link on the homepage. I am not sure, if I answered your
question but think this as one possible solution.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saff5005
i thinck u need to enable smart identification mechanism
which identifes the object by its properties ,
so for doing this ,steps are as follows
1)Choose Tools > Object Identification. The Object
Identification dialog box opens.
2)Select the appropriate environment in the Environment
list.
3. Select the test object class you want to configure.
4. Click the Configure button next to the Enable Smart
Identification check box. The Smart Identification
Properties dialog box opens:
choose what ever properties u want to give to base filter n
optional filter .and then run the test
correct me if i am wrong
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pravati
use Descriptive dynamic programming and use the property in getroproperty which is same for every new link.also use smart identification,and Regular Expression
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / babu
Create a output value for that particular link and store it
in a Action/Gloabal Datatable. Store that link in to a
variable. Using Settoproperty, set that stored link value
to "Value" parameter.
Change the link name in the object repository as well and
pass the same link name to the link method.
Whenever the link is changed, that link will be stroed in
the datatable and the value will be set to the link object.
| Is This Answer Correct ? | 0 Yes | 1 No |
What are the different types of action?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
how to retrieve data from flight resevation->reports
How to open an application through scripting?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
how to merge object repositories in qtp for n different applications
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
when to start the automation?
recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail
write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result
There are 3 types of frame works in QTP 1. Linear frame work 2. Modular frame work 3. Key word driven frame work. Can any body explain the above 3 frame work models. y2k_ram2000@yahoo.com
6 Answers Fidelity, GDS, IBM, TCS, Wipro,