Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to recognise Dynamic Value links and navigate
#1
Solved: 11 Years, 4 Months ago

.doc   Error.doc (Size: 57.5 KB / Downloads: 100) Hi,

One of my tests which I am trying to automate has a table with data which has links,that data and its corresponding URL changes frequently
(For example when I recorded the test its was STPPC10& URL was http://fstst04.ffdc.sbc.com:8080/bvoip/s...TPPC10&v=1 and when I tried to run it value was was STPPC11) & URL http://fstst04.ffdc.sbc.com:8080/bvoip/s...TPPC11&v=1) .
I used getcelldata to capture data from the required cell and was successful but when I changed the cell value to check if it works if the data changes , the changed data STPPC11 was captured but it displays an error The "STPPC11" Link object was not found in the Object Repository.Check the Object Repository to confirm that the object exists or to find the correct name for the object.

Adding an attachment with application screen shot and the error message

Can someone help me on resolving this or if you know a better way to implement this

Thanks
Ram
Reply
#2
Solved: 11 Years, 4 Months ago
Hi,
Use Regular Expression for that Particular Object.
Go to Object Repository and Select that Particular object and go to text property and click on <#> and then you will get value configuration options and then select regular expression.
Then save the test and run again.

Hope it is going to workout let me know the outcome.
Reply
#3
Solved: 11 Years, 4 Months ago
Hi ,

By above things,
1. link's innertext property ---> "STPPC10"
2. links Url property ---> "http://fstst04.ffdc.sbc.com:8080/bvoip/s...TPPC10&v=1"

you just apply regular exp for above two properties inorder to identify the above link.
1. link's innertext property ---> "STPPC.*"
2. links Url property ---> "http://fstst04.ffdc.sbc.com:8080/bvoip/s...TPPC.*"

and check the regular exp. checkbox .

I hope now onwards it will goes fine...
Reply
#4
Solved: 11 Years, 4 Months ago
Thanks Sridhar and sreekanth , was able to rectify it and works fine now!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object doesnot recognise lakshmikanth 0 1,116 12-18-2017, 04:10 PM
Last Post: lakshmikanth
  QTP does not recognise elements randomly Pkapoor 2 2,621 07-05-2013, 11:27 AM
Last Post: Pkapoor
  Navigate & Learn Objects Shama Ahsan 0 2,227 12-05-2012, 11:51 AM
Last Post: Shama Ahsan
  Not able to navigate and learn oracle forms manumaan 2 3,581 06-26-2012, 06:16 PM
Last Post: manumaan
  Navigate and Learn Freezes up consumed85 0 2,533 11-08-2011, 12:25 AM
Last Post: consumed85

Forum Jump:


Users browsing this thread: 1 Guest(s)