Posts

Showing posts from June, 2013

Software testing growth rate + Malaysian Software Testing Board (MSTB)

Image
Here is proof that software testing is one with a rapid growth rate across the globe! Demand for software test professionals is increasing around the globe, in line with the rapid growth of global demand for software testing services. Malaysia too is starting to experience a similar phenomenon as the country continues to develop its software testing industry through the Malaysia Software Testing Hub (MSTH) initiative. Being a software test professional requires specialised skills, particularly at the higher-end of the practice where strong domain knowledge also becomes an essential success factor, and being in a highly on-demand vocation, the career can be rewarding. The Malaysian Software Testing Board (MSTB) promote software tester as a viable career among existing software professionals as well as university students in the software engineering and other information technology (IT) fields. A Technavio Insights report, published in 2012 by United Kingdom-based Infiniti Re

Automate IE without a tool - VBscript

Image
Here is a basic plain  vbscript which I used to automate a daily chore activity. Option Explicit strUser = "Ady" strPwd = "pwd" Dim objLink , ie , WshShell , colLinks Dim i , intDay , intOff , intcount , btn, strText, j Dim strUser , strPwd , hwnd, Wnd, oShell, objImage, objImages , strOut Sub WaitForLoad(obj)    Do While ie.Busy    Loop       Do While obj.readyState <> 4    Loop    wscript.sleep(100) End Sub 'Create ie and shell object Set ie = WScript.CreateObject("InternetExplorer.Application") Set WshShell = WScript.CreateObject("WScript.Shell") 'set the ie properties ie.ToolBar = 1 ie.StatusBar = 1 ie.Width = 1500 ie.Height = 999 ie.Left = 0 ie.Top = 0 ie.Visible = 1 With ie hwnd = .hwnd       .Navigate "http://test/default.aspx" End With Set oShell = CreateObject("Shell.Application") For Each Wnd In oShell.Windows         If hwnd = Wnd.hwnd Then Set ie = Wnd N

The object invoked has disconnected from its clients Vbscript and internet explorer

Image
Here was a vbscript that was working well and all of a sudden started throwing this vague error - "the object invoked has disconnected from its clients" After a lot of research here is what I found that might save your day: Find the handle of the window and re-associate the object with the handle. (This is what will reconnect your ie client back to the object" Here is the code: Set ie = WScript.CreateObject("InternetExplorer.Application") With ie      hwnd = .hwnd      .Navigate " http://xyz.com " End With Set oShell = CreateObject("Shell.Application") For Each Wnd In oShell.Windows        If hwnd = Wnd.hwnd Then Set ie = Wnd Next   Happy Coding :)

Improve Automation ROI basics

Image
Want to increase the Automation ROI ? Here are bullet points that you can work upon: Changes in framework architecture: the way BPT tests are created Maximum utilization of the automated scripts – Increase frequency of test suite runs Process Integration - automating the entire process can derive significantly greater value Contextual automation – Use cues like the time of day automation is run, other programs running and their potential impact on system performance, Schedulers and Nightly runs. I am sure there are other ways , please add comments if there is something that can significantly improve the Automation ROI.

Career in Software Testing

Image
Mostly my posts are technical but off-late I have had a lot of people either fresh grads out of college or experienced developers wanting to move into testing asking me one common question. What is the scope of a career in testing/automation. My answer: Software testing is an amazing profession that offers a rewarding and structured career path with clearly defined roles and qualifications. Why? There is scope for improving the way testing is done in most companies. More opensource community and many mature testing tools Every company allocates and adequate amount for testing. Plenty of jobs and least affected by recession/lay offs. Salaries are in-par with developers and if you are good its always more than the dev community. The best part being we are technology independent folks , we fit into any bucket irrespective of our specialization - Manual(Functional)/Automation/Performance/Security. Roles generally in testing: Technical Track Software Test Engineer Tests

Firefox profile with Selenium Webdriver

Image
Firefox, like your home page, what toolbars you use, saved passwords and bookmarks are all stored in a special profile folder. Get webdriver to come up with firebug: Download the firebug xpi file from mozilla and start the profile as follows: File ext= new File("firebug-1.8.1.xpi"); FirefoxProfile firefoxProfile = new FirefoxProfile(); firefoxProfile.addExtension(ext); firefoxProfile.setPreference("extensions.firebug.currentVersion", "1.8.1"); // Avoid startup screen firefoxProfile.setPreference(“extensions.firebug.console.enableSites”, true); //enable console //some more prefs: firefoxProfile.setPreference( “app.update.enabled”, false); firefoxProfile.setPreference( “browser.tabs.autoHide”, true); //use this profile: DesiredCapabilities capability = DesiredCapabilities.firefox(); capability.setCapability(FirefoxDriver.PROFILE, profile);  WebDriver driver = new FirefoxDriver(firefoxProfile);   Enabling features that are disabled by d

Beyond Compare with QTP/VBScript

Image
Scooter's software Beyond Compare  with QTP /VBScript: Public WorkingFolder = "C:\Test" Public BeyondComparePath = "C:\Program Files\BC3\Beyond Compare 3\BCompare.exe" Public Function CompareFiles(LeftFile, RightFile, ReportName, ComparisonType)          CreateBeyondCompareScript          Set oShell = CreateObject("Wscript.Shell")          'Select Different Comparasion Type Script          If LCase(ComparisonType) = "text" Then                   BeyondCompareScriptPath = WorkingFolder & "BC_Text.txt"          Else                   BeyondCompareScriptPath = WorkingFolder & "BC_Data.txt"          End If GenerateReportCommand = """" & BeyondComparePath & """ @""" & BeyondCompareScriptPath & """ """ & LeftFile & """ """ & RightFile & ""&quo

QTP or Selenium / QTP v/s Selenium

Automation Tool QTP Selenium WebDriver License Cost $9000 for each floating license or $6000 for a node-lock license Open Source What can be tested? Most windows applications and Web Applications Only Web Other tools required Quality Center for test management Mostly needs tools like TestNG/Fitnesse/Development tools/Reporting tools and so on Language VBScript Java/.NET/PHP/Perl strict programming rules unlike the loose scripting in vbscript Windows Compatible Only Windows Windows/MAC/UNIX Platforms Android Compatible N Y Tester Friendly Y N Companies Larger firms who can afford the tool Smaller Firms and a few larger ones Learning Required Minimal Loads of tools and Programming skills for JAVA/.NET Platforms Not very easy when it comes to multiple OS /Browsers selenium grid with a 3rd party grid service like Saucelabs Books Many Few good ones for Java and .NET Open Source Frameworks Y Just One Agile Friendly Y Y What Customers have to say? Most Popular test automation

Skillset - Automation Tester | Agile | Selenium or QTP

Image
Note: the Skillset category is just to gauge where you stand in terms of the skills required for the role Yet another interesting test automation profile : Are you a technical tester? Do you want to work with the best? Are you looking for a challenging and energising role where you can learn? If the answer is yes to all 3 questions read on! An Automation Tester / Test Automation Specialist is required by a leading and financial systems company in Central London. As a highly successful business they are completely unrivalled in their bespoke financial systems solutions that they provide for the world's most exclusive Investment Banks, Brokerages and Trading companies. My client pride themselves on being one of the most technically astute testing teams in the UK and firmly encourage knowledge sharing amongst it's testing team enabling their consultants to be best they possibly can be. If you are a Technical Automation Tester looking to gain experience at the top e