Showing posts from May, 2011

QTP - Wait for web page to load completely

There are instances when there isn't any unique property or object to check on the landing page during a browser navigation, in such cases we can use either of the below options to code:

set objReadyState = Browser("").Page("").Object
While objReadyState.readyState = "Completed"
Set Object=nothing

Set Object=Browser("").object
While Object.Busy=True
Set Object=nothing

Happy Testing!

Code to get tagnames and values from an xml

In continuation from the previous post where we try and get the attribute values from an xml, here is the code where we get the tag names and its values :

Const xmlFile1= "C:\Test.xml" Set xmlDoc1 = CreateObject("Msxml2.DOMDocument")
set nodes1 = xmlDoc1.selectNodes("//*")
for i = 0 to nodes1.length -1
        tagname1 = nodes1(i).nodeName
        val1 = nodes1(i).text
        If  tagname1= "test" Then
                msgbox tagname1
                msgbox val1
                Exit for
        End If

Hope this helps , happy testing!

Golden Rules for Career Success - Richard Moran

Loved this article and thought its apt for the skillset label on my blog , so here it is for the benefit of others:

WORKING as a business consultant all over the world, I have discovered some basic career-related rules that everyone should know but many don’t.

Business is made up of ambiguous victories and nebulous defeats. Claim them all as victories. Keep track of what you do; someone is sure to ask.Be comfortable around senior managers, or learn to fake it.Never bring your boss a problem without some solution.You are getting paid to think, not to whine.Long hours don’t mean anything; results count, not effort.Write down ideas; they get lost, like good pens.Always arrive at work 30 minutes before your boss.Help other people network for jobs. You never know when your turn will come.Don’t take days off sick unless you are.Assume no one can / will keep a secret.Know when you do your best morning, night, under pressure, relaxed; schedule and prioritize your work accordingly.Treat every…

Skillset - Test Automation Developer

In continuation of my previous posts that are tagged "Skillset" , Here is what a company is looking for when they want a "Test Automation Developer"


The Test Automation Developer will build and execute test automation scripts using QTP, Selenium, Macro or Mobile automation test tools for functional system integration and business acceptance testing under multiple platforms and cross-browsers.


• Write automation test plans & strategies, convert & or write test scripts, perform test execution, provide result documentation & metrics reporting.
• Build automation framework in QTP
• Collaborate with Quality Assurance Analyst – subject matter expert to gather requirements for automation development and provide guidance to execution of scripts
• Provide technical knowledge on multiple projects simultaneously.
• Solid written and verbal communication skills
• Proven automation development experience
• Proficient in testing …