2018 up to now | 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] Starting embed QF -Test browser from Java application


  • Subject: Re: [QF-Test] Starting embed QF -Test browser from Java application
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 07 Dec 2012 09:51:26 +0100

Hello Marko,

thanks for the update. Yes, I understand that situation. I guess it
depends on how important testing that browser is.

Still, if you could get me some information about how that browser is
started, especially whether the SUT relies on the default system
browser, we'll look into whether something can be done without
changing your code, though I don't have my hopes too high.

Best regards,
    Greg

"Hamalainen, Marko (EXT-Tieto - FI/Tampere)"
<marko.hamalainen.ext@?.com> writes:

> Hello Gregor!
>
> Thanks for your answer! Yes this system property setting could be one solution to fix this, but this kind of extra work for developers can be difficult to sell them. Anyway we can test this case manually and go on with another test automation test cases. I think we won't meet this little limitation in the rest of the test automation test cases.
>
> With kind regards and thanks,
>
> Marko Hämäläinen
>
> -----Alkuperäinen viesti-----
> Lähettäjä: ext Gregor Schmid [mailto:Gregor.Schmid@?.de] 
> Lähetetty: 6. joulukuuta 2012 21:21
> Vastaanottaja: qftest-list@?.de
> Kopio: Hamalainen, Marko (EXT-Tieto - FI/Tampere); Di Gaetano, Stefano (NSN - FI/Tampere); Laine, Elina (NSN - FI/Tampere)
> Aihe: Re: [QF-Test] Starting embed QF -Test browser from Java application
>
>
> Hello Marko,
>
> for QF-Test the situation is unchanged - it needs the embedded browser to interact with it.
>
> Maybe it's possible to modify your application so that a special command can be injected to launch the browser when selecting the "Start application" menu, e.g. by setting a system property.
>
> You could then set that property via an SUT script at runtime and normal behavior would not be affected. If your developers are willing to implement that and you need further info, please contact our support directly.
>
> There may be an alternative way if your application relies on starting the system's default browser. We could look into temporarily overriding that, at least on Windows. We haven't tried that yet so I can't tell how difficult that might be.
>
> Best regards,
>     Greg
>
> "Hamalainen, Marko (EXT-Tieto - FI/Tampere)"
> <marko.hamalainen.ext@?.com> writes:
>
>> Hello!
>>
>> I'm creating an automated test case by using QF -Test. First test case 
>> will start Java application as a SUT. Then it should start embed QF 
>> -Test Mozilla browser with special URL by using menu of previously 
>> started Java application. This is done by right clicking special 
>> object in Java application and selecting "Start application" from 
>> menu. But it will start default browser of the computer when recording 
>> this step by QF -Test. For example real Mozilla Firefox not embed QF 
>> -Test browser and so it's not possible automate test case further from 
>> this point. Testing this step was main idea of test case. Do you know if it's possible to start this embed QF -Test browser from Java application instead of default browser of computer? I have checked mailing list archive and found similar topic like this:
>>
>> http://www.qfs.de/archive/qftest-list/2011/msg00310.html
>>
>> This question was sent one year ago and then there was no solution to this.
>>
>> With kind regards and thanks,
>>
>> Marko Hämäläinen

-- 
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