Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebElement not found in OR
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
I have a WebElement that is not being found in the OR.

On the webpage, the page webelement in Spy indicates the innertext = **Account 12345678 is invalid or you are not authorized to view this account.**

I use:
Code:
If  Browser("Wisdom").Page("Wisdom IA").WebElement("**Account1").Exist(0) Then
In the properties, innertext is set a a regular expression (Repository Parameter) constant is "**Account " & ACCT1 & " is invalid or you are not authorized to view this account.**"
ACCT1 is a passed in variable 12345678

What must I do differently to find this value in my OR.

Or do I use:
If Browser("Wisdom").Page("Wisdom IA").WebElement("innertext:=" & "**Account " & ACCT1 & " is invalid or you are not authorized to view this account.**").Exist(0) Then
Reply


Messages In This Thread
WebElement not found in OR - by mv8167 - 03-24-2012, 12:45 AM
RE: WebElement not found in OR - by rajeevszone - 03-25-2012, 06:13 AM
RE: WebElement not found in OR - by rajeevszone - 03-25-2012, 06:13 AM
RE: WebElement not found in OR - by mv8167 - 03-26-2012, 09:37 PM
RE: WebElement not found in OR - by sshukla12 - 03-27-2012, 11:49 AM
RE: WebElement not found in OR - by mv8167 - 03-27-2012, 06:53 PM
RE: WebElement not found in OR - by mv8167 - 03-27-2012, 09:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  regex works but how do i return the found string to a variable jove1776 2 3,422 08-24-2011, 06:17 PM
Last Post: jove1776

Forum Jump:


Users browsing this thread: 3 Guest(s)