Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
regular expression
#1
Not Solved
The thing is im using 3 different objects 2 are from same page ane 1 element from differtnt page this is my script

i need a perfect regular expression for salesforcampnew ,campid,salesforce,
all the three pages tiltle are looking similar please help out to get perfect regular expression for itSadSadSadSadSadSad

Code:
Set salesforcecampnew=browser("title:=Campaign Edit: New Campaign Framework ~ salesforce.com - Unlimited Edition - Windows Internet Explorer").page("title:=Campaign Edit: New Campaign Framework ~ salesforce.com - Unlimited Edition")
Set campid = Browser("title:=Campaign Framework:.*").Page("title:=Campaign Framework:.*").webtable("innertext:=Type.*Media Type.*Campaign Series.*","html tag:=table")
Set salesforceerror=browser("title:=Campaign Edit:.*").page("title:=Campaign Edit:.*").webelement("innertext:=Error: Invalid Data. Review all error.*","html tag:=DIV","outertext:=Error: Invalid Data.*")

the regular expression which im using is not working fine
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,519 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,388 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,854 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,629 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,139 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)