Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression for Parameter
#1
Not Solved
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:
Code:
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 ..
Code:
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
Reply
#2
Not Solved
We need to convert all the special characters of the parameter Link_N before using click on, i will send you the code
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,496 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,361 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,830 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,577 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,123 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 4 Guest(s)