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 the diffference between test data and test cases what is meant by object hierarchy in qtp
difference Between Call Run action and copy of action?
Explain the benefits of quick test pro(qtp)?
How you automate testscripts one by one or modukewise or all at once
How to start recording using quicktest professional?
does automation replace manual testing?
How to export QTP results to an ".xls" file?
What is the use of text output value in quicktest professional (qtp)?
Describe the process for writing text check point for a web application?
Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip
Hoe can we do retesting using functions please give the code for it using login page
wht is the difference between action and functio?