Using JS

Tuesday, October 6, 2015
Hi, im new using  rapise, i have a question.... How can i use 'document.getElementById' from javascript?
And also, i cant use alert from javascript

Thanks in advance

2 Replies
Wednesday, October 7, 2015
re: conchitabh Tuesday, October 6, 2015
Hi Concepcion

There is a way (using ExecJS) to send commands directly to the browser, however it is not the recommended way of doing things. Rapise works by learning 'objects' that map to physical elements on the web page. I would try following the Rapise Quick Start Guide to get a feel for how this works. In particular, the section on using the WebSpy should help you get going.

Wednesday, October 7, 2015
re: inflectra.sarahx Wednesday, October 7, 2015
Hi, thank you, I tried with this:
var saludo ='hello';
But why is not working?

The error says: Browser popup message missing: hello

I'm using Google Chrome as navigator

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Tuesday, October 6, 2015
  • Last Reply: Wednesday, October 7, 2015
  • Replies: 2
  • Views: 1916