Tuesday, 12 January 2016

Video Demo 2 - Using user defined variables



Introduction

This demo will demonstrate how to use Senuji user define variables. For demo purpose I am going to open my Facebook sign in page and read my name form a label and store it to a variable. Then open Google and pass said variable value to Google search text box.
 


Senuji Script I used for this demo

Open "https://www.facebook.com/erandika.umal"
VariableSring "$MyName="
StoreStringToVariable "$MyName" "Xpath:.//*[@id='fb-timeline-cover-name']"
NavigateURL "https://www.google.lk"
WaitForElementPresent "null" "Xpath:.//*[@id='lst-ib']"
InputStringVariableToTextbox "$MyName" "Xpath:.//*[@id='lst-ib']"

Video Demo 1 - How to create and execute Senuji test script


How you can create a Senuji test script and execute it on Senuji IDE. Sometime I am explaining how to understand Senuji test log or test report.

This demo will help you to understand that, Senuji can create and execute Selenium test case without Java programming knowledge.