2019 up to now | 2018 2017  |  2016  | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] web_page_url

  • Subject: Re: [QF-Test] web_page_url
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 21 Mar 2012 20:17:52 +0100

Hello Zsolt,

normally, when you record navigation from one page to the next, you
should also get a 'Wait for document to load' node recorded. This
basically checks for correct navigation but depending on how your
URL's are mapped in QF-Test that does not include checking for the
particular URL.

To record a check for the document URL, enter check recording mode and
navigate to a spot where you get a large highlight rectangle ideally
matching the whole BODY of the page. Right click to open the check
menu. There you can navigate upwards through the parent hierarchy
until you reach the DOCUMENT for which you'll find a URL check in the

At script level you can do s.th. like

doc = rc.getComponent("genericDocument")
url = doc.getUrl()
rc.checkEqual(url, "the expected url", "URL match") 

Best regards,

"Hajnal, Zsolt (GE Healthcare)" <zsolt.hajnal@?.com> writes:

> Dear QFTest Support Team!
> I’d like to ask for your help  again in an other topic. I’m testing HTML pages of our servers now.
> I can open the servers homepage from QFTest and able to manipulate.
> The question is:
> When I click a link the opens an other page in an other window that can be manipulated too with
> QFTest, how can I get the URL of the page. That area of the QFTest Browser seems to be not
> manipulable. The goal at the rest of my tests is to compare if the right page was openned. So I
> should fetch  the URL of the page to be able to compare it.
> Regards,
> Zsolt
> Zsolt Hajnal
> Software Tester Intern
> GE Healthcare
> zsolt.hajnal@?.com
> www.ge.com
> Akron u. 2 
> Budaörs 2040, Hungary
> GE Hungary Kft.
>  gGE Healthcare

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833