This site requires JavaScript to be enabled
IE BUMPER

Logo

Dear Tricentis qTest users,

If you would like to submit a Tricentis qTest ticket,

please use this support request form.

Tosca Version
IncidentLookup using list
Language
How can we help?

Solution Suggestions

Please enter your question to get suggestions.
  Help
IE BUMPER
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

Verify the presence of a link without scanning the web page before hand

I have an xls with a list of webpages and of links that should or should not be somewhere on those pages. Is there a method for opening that page and verifying if link is present on the page? 

Thinking about creating a template and TemplateInstances, but have no idea to create a TC for this.

0 0

Andreas Windbichler

Created: 2019-09-12 07:29:07

Hey Jay,

One approach that comes to my mind would be to use a generic module and a generic attribute for the link and use dynamic values to identify them.

This means, you would have to scan any website with a link on it once to get a module with link attribute, and then replace the identifiers (like website title, link text) with buffers. During runtime you can then set the buffer values and it should be possible to verify the (non)existence of the link.

If have attached a subset for illustration. A few things to note:

  • In this example, I set the required values for title, link and website url in a simple TBox Set Buffer step. You would read these values from Excel in your real TestCase, as I understand
  • Check the properties of the module and the link - I replaced the unique identifiers by buffer expressions
  • the example steers the Tricentis Demo Webshop, so you should be able to execute the attached TestCase without problems to see how it works

 

Hope that helps,

BR Andreas

Attachments
IE BUMPER

Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial