Tuesday, November 26, 2013

Download KeyWord Driven Selenium Webdriver Automation Framework

Hi Testers!

Wanting to automate monotonous Manual test cases but programming a challenge?

I have a Solution that I am calling - FATE (Functional Automation Through English)

All you need to do now is just typing in English language in an Excel Sheet about what you want to perform

In another sheet provide object identification string (using any of - id, xpath, classname, cssselector from the page source html, In case not sure how to find ids or xpaths No Worries! No Big Deal! video will tell you that as well..)

Thats all, that is required and your tests are automated, no rocket science no need to learn any programming language or scripting language, Providing you here by a user friendly Automation Framework free of cost!*



Brief about the frame work:

Input to the Framework:

Sheet telling which test cases to execute
Sheet telling what Action to perform on which Object (with Test Data also supplied here) below image:



Most Actions are configured ie Click, Type, Select, Mouse Hover, Get_value from web grid, Search in grid and then Click, Wait, User Input, Pause etc

Sheet telling the Object Identification String , below image:




Output :

Test Results excel file with datetime stamp - below image:



Results Sheet:
Test Case ID, Test Step ID, Step Description, Step Execution DateTime, Result Pass/Fail, Error Screenshot

Exceptions Sheet:

Test Case ID, Test Step ID, Step Description, Step Execution DateTime, Exception Screenshot

I will soon add a Video of the same with demonstration..

So the solution basically Enables tests automation whe you just know simple English language rather than Java, C# or VB or Pearl Script.

No cost for any tool, all open source:   Selenium Webdriver and Java language
Framework most functions are Free of Cost.


To Grab the jars of this framework - FATE (Functional Automation Through English), please leave your email id / Contact number in the comments or email me directly

vedaant83@gmail.com 



* Only some features remain paid



Tuesday, November 5, 2013

Problems with mouseover / mouse hover - Selenium Webdriver

Recently I had been having troubles simulating mouse over on chrome browser, the solution however was pretty simple , I was providing incorret xpath

Replacing //*[@id='rightContainer']/nav/ul/li[5]/a

with
//*[@id='rightContainer']/nav/ul/li[5]

worked for me , so rather hovering over link, i hovered over the list containing it, and the code remains as available widely:

    pcs_element= get_element(driver, objects_ob_identity_type, objects_ob_identity_val, steps_ob_name);
                                            
                        Actions builder = new Actions(driver);
                        org.openqa.selenium.Point coordinate=pcs_element.getLocation();
                        Robot robot=new Robot();
                        builder.moveToElement(pcs_element, 5,5).build().perform();
                        builder.moveByOffset(1, 1).build().perform();
                        robot.mouseMove(coordinate.getX()+8,coordinate.getY()+60);
                       

would appreciate a thanks if this helped:)

Friday, May 24, 2013

Object Identification Chrome with QTP 11 - tricky

Hi All,

Observed  this strange behavior that QTP didnot recognise objects on chrome!

Solution,

Record a script first on windows as usual selecting windows tab, say calculator, record objects.
Once objects for windows application are identified, some kind of changes happen in QTP
than now

It will record objects on web applications also say on Chrome.

After having done on windows as usual

You can now record objects on Web application / on Chrome as usual....

No Logic no reason...just thats how it worked for me!.

Happy Automation!