Variable in a Clickhtmlelement

Getting started -basics for starting with WinTask

Variable in a Clickhtmlelement

Postby Hamadi on Wed Jul 08, 2015 9:56 am

Hi,
A var$ is needed to replace "RUAIKG" (a reservation number) in the clickhtmlelement.
UsePage("Travel Planner")
ClickHTMLElement("A[INNERTEXT= 'RUQIKG']")

What is the syntax?
Thanks.
Hamadi
 
Posts: 21
Joined: Wed May 25, 2005 10:18 am

Re: Variable in a Clickhtmlelement

Postby TechSupport on Fri Jul 10, 2015 8:15 am

Hello,

Here is the syntax:
var$="RUQIKG"
ClickHTMLElement("A[INNERTEXT= '"+var$+"']")
which means beginning of the string "A[INNERTEXT= '"
then concatenation with var$ containing RUQIKG then concatenation with string "']"
Regards,
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Getting started

Who is online

Users browsing this forum: No registered users and 5 guests

cron