Login   /   Register

Using web anchors to automate non-unique controls

April 28th, 2009 by Yaron Assa
     6 votes, average: 4.67 out of 56 votes, average: 4.67 out of 56 votes, average: 4.67 out of 56 votes, average: 4.67 out of 56 votes, average: 4.67 out of 5
Loading ... Loading ...

If the world was perfect, our application would have unique, well named controls. More often than not, though, our applications are a mess of unordered controls, who are deemed non-standard by QTP. In the worst cases, we’re stuck with unnamed non-unique controls, who are only identified by their infamous Index property.
This article will detail an effective approach to robustly automate web controls even in these hard cases.

Effectively delete cookies

April 19th, 2009 by Yaron Assa
     2 votes, average: 1 out of 52 votes, average: 1 out of 52 votes, average: 1 out of 52 votes, average: 1 out of 52 votes, average: 1 out of 5
Loading ... Loading ...

Andrew Marin has shared the following QTip, which allows us to quickly and effectively delete all cookies in Internet Explorer.

This can be of great help to anyone who handles multiple user sessions during his tests, or just wants to reset the test environment before starting a test run.

A Survey

March 26th, 2009 by Yaron Assa
     1 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 5
Loading ... Loading ...

Ayal Cohen – the functional architect of QTP in HP Software R&D – would like you to spend a few minutes answering a short survey. It would allow HP to design better, more relevant versions of QTP, that will benefit us all.


We thank Ayal for his efforts to help and serve the QTP community, as well as for approaching AdvancedQTP’s worldwide community in this endeavor. In behalf of the AdvancedQTP team – Please go ahead and answer the survey.

Announcing a unique channel - Mastering The Web

March 13th, 2009 by Yaron Assa
     4 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 5
Loading ... Loading ...

Solmar Knowledge Networks is proud to announce a new channel - “Mastering the Web” - to be delivered exclusively by www.AdvancedQTP.com. The channel was designed for automation professionals of all levels of knowledge and expertise who are eager to specialize in the web environment.

To give you a taste of things to come, a demo of the channel will be available free for the community throughout the coming month. The demo contains only a fraction of the full channel’s material, but it will give you the opportunity to see the quality, depth, and scope of the channel.

Read the full statement to enter the Demo.

Using runtime attributes to describe QTP Web Objects

January 21st, 2009 by Yaron Assa
     8 votes, average: 4.63 out of 58 votes, average: 4.63 out of 58 votes, average: 4.63 out of 58 votes, average: 4.63 out of 58 votes, average: 4.63 out of 5
Loading ... Loading ...

Barak Kinarti brings us the extremely useful QTIps on identifying Web object through their Runtime Attributes.

Saving a file from Internet Explorer

July 12th, 2008 by Yaron Assa
     4 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 5
Loading ... Loading ...

This QTip - by Anshoo Arora - allows for saving a file via Internet Explorer. This will produce similar results to manually right-clicking a link and choosing “Save as”.

IE+Kaspersky+QTP = Troubles

June 20th, 2008 by Yaron Assa
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...

QTP starts crashing your Internet Explorer? It might be time to uninstall your firewall.

Reusing Web Objects after the Page Reloads

May 27th, 2008 by Yaron Assa
     4 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 54 votes, average: 4.75 out of 5
Loading ... Loading ...

Will Roden from the Software Inquisition writes about a major undocumented feature in QTP, which allows you to reuse references to web-objects even after the page loads.

Firebug

April 23rd, 2008 by Yaron Assa
     3 votes, average: 3.67 out of 53 votes, average: 3.67 out of 53 votes, average: 3.67 out of 53 votes, average: 3.67 out of 53 votes, average: 3.67 out of 5
Loading ... Loading ...

Firebug is the most advanced free web analysis tool to date. While some of its functionality may resemble IE development toolbar (reviewed here), its scope, extra features and attention to details make it invaluable both to QA personal and web-designers. It’s fair to say that the only advantage IE development toolbar has over Firebug, is the fact that some websites only work with Internet Explorer, making it impossible to work with firebug (which runs on firefox). Having said that, if you’re working with a site which works both with IE and with Firefox, firebug will blow your mind.

Get a WebElement’s Style

April 11th, 2008 by Yaron Assa
     3 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 53 votes, average: 4.33 out of 5
Loading ... Loading ...

While some of a WebElement’s style properties are available via it’s Test-Object properties (e.g. its height, visibility etc.), a lot of its visual styling is left unknown to QTP. This can be overcome via its Run-Time .CurrentStyle property.