Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for Parameter
02-22-2010, 10:13 AM
Post: #1
Regular Expression for Parameter

Hi,

I have a scenario where I have to get the OutputText and Use that OutputText from one TestScript as input to innertext for other TestScript For Ex:
Link_N = Parameter("Link_Name")
Browser.Page.Link("innertext:="&Link_N)
if the Link_N doesnot contain any special character I'm able to click the link but when spl character is in the link the script fails.I dont have indepth knowledge in Reg Exp..

let me explain you in depth

In a page I have several links depend on the Output Text Value (Which will be the Inner Text of any of the links ) ,I have to click the link ..
Browser(A).page(A).OutPut CheckPoint("Link_Name")

Link_N = parameter("Link_Name")

Browser(A).page(B).Link("Innertext:="&Link_N").click

Hope you got me ...I appreciate if anyone has solution
Find all posts by this user
Quote this message in a reply
10-05-2010, 11:32 AM
Post: #2
RE: Regular Expression for Parameter
We need to convert all the special characters of the parameter Link_N before using click on, i will send you the code

Thanks
Surya
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Regular expression for this string falvi 2 238 04-30-2012 11:14 AM
Last Post: falvi
  regular expression rjkmr.aiht 0 146 04-27-2012 11:37 AM
Last Post: rjkmr.aiht
  Regular Expression samverma 3 348 03-31-2012 01:21 AM
Last Post: samverma
  Square Bracket Issue - Regular Expression kapsig431 2 281 03-29-2012 08:38 PM
Last Post: kapsig431
  Regular Expression for time in 24 hour format with out colon Pallavi 3 431 03-13-2012 11:29 AM
Last Post: sshukla12

Forum Jump:


User(s) browsing this thread: 1 Guest(s)