Showing posts with label runScript Command. Show all posts
Showing posts with label runScript Command. Show all posts

If you see selenium IDE commands with examples on COMMAND LIST PART 1 and COMMAND LIST PART 2, You will find many commands to perform different actions on web page. But still selenium IDE have not any commands to perform few actions directly like showing hidden element or hiding any

Before discussing on enabling/disabling any element in selenium IDE, Let me tell you one thing - Selenium IDE is less powerful compared to Selenium RC and WebDriver, we can not perform all the tasks in selenium IDE. But still we can automate simple flows very easily in selenium IDE compared to webdriver because

"runScript" command can be used for the different purpose in different condition. You can use it to run any java script in selenium IDE. View my previous 3 posts where i have described how to use "runScript" command for different purpose. Today we are taking one example of changing page title using "runScript"

"runScript" command Example 1 and Example 2 will describe you how to generate alert message in selenium IDE. Now let we go at next step. Supposing i have a drop down containing labels Volvo, Saab, Opel, Audi, Toyota and Renault. I want to pick one specific label from it to store it in to variable to

In my previous post, I described how to generate alert message using "runScript" command in selenium IDE. In this example, Let we see how can we show variable value inside alert using "runScript" command. Copy paste bellow given example in your selenium IDE and run it.

Example 2 : "runScript" Command With Variable In Script

Many blog readers were asking me for "runScript" command examples. Finally i got some time to prepare few examples for "runScript" command. There is not one specific use of "runScript" command but we can use it in different ways for different conditions. BTW, you can Look at different examples of using javascript with selenium IDE.