Javascript

Processing Javascript with Selenium

To allow you to create dynamic testing scripts, i.e. ones where the information entered onto forms, such as dates change over time, Cloud Testing has implemented the processing of JavaScript. Stored Variables The commands store, storeValue and storeText can be used to store a variable value for later. Store javascript{var d=new Date(); d.toString()} dateToday Store [...]

Processing Pop-up Alerts and Confirmations with Selenium and Cloud Testing

This article covers the basics of how Selenium handles pop-ups, as well as how to test them using the Cloud Testing service. Future articles will cover the advanced details of handling Alerts and Confirmations. What are Alerts and Confirmations? The following very basic page will use Javascript to display either an Alert (which only has [...]