2

Workfusion I am trying to make two variables through web-element. When running individually its great but when running separately it has problems.

Please see the picture for the same. This doesn't get executed.

image

Faysal Ahmed
  • 7,501
  • 5
  • 28
  • 50
  • 1
    Please read why a [screenshot of HTML or code or error is a bad idea](https://meta.stackoverflow.com/questions/303812/discourage-screenshots-of-code-and-or-errors). Consider updating the Question with formatted text based relevant HTML, code trials and error stack trace. – undetected Selenium Feb 22 '18 at 11:34
  • 1
    Have you tried specifying XPath there directly? In WF, accessing variable inside another access statement is always tricky - in webharvest, in recorder, etc. – TEH EMPRAH Feb 23 '18 at 12:42

2 Answers2

0

If your XPath has any variable then try the giving a value like following:

//*[@id="mv-tiles"]/a[${i}]

and you can keep changing value of i through loop. A variable inside another will throw error in Workfusion RPA Express.

Stuti Verma
  • 1,059
  • 13
  • 32
0

The ${} evaluates the whole it's body. Does the following, without nested ${} execute OK?

${webrange[countertemp]}
Andrey
  • 6,526
  • 3
  • 39
  • 58