bogdan.barbu

Use <check> command in WTG script

Discussion created by bogdan.barbu on Nov 29, 2011
Latest reply on Nov 30, 2011 by bogdan.barbu
Hi,

I'm trying to develop a script using WTG Editor 9.0.7 which will check the content of page for some specific text to decide if the application is up or not.

But at this moment I did not succeeded, no matter what I tried to have in the script.

I tried several ways, the latest one is

<?xml version="1.0"?>
<script>name=myaccount group=MyAccount
<request>www.orange.ro
<url>http://www.orange.ro/</url>
<check>12345678opoiuytrewasdfghjk</check>
</request>


.....

</script>

But, from the wtg web interface this transaction has the Status Msg: OK, although it should be failed, because the work 12345678opoiuytrewasdfghjk is not in the content.

Does anyone know who to use this check option?

Regards,
Bogdan

Outcomes