For Programmers: Free Programming Magazines  


Home > Archive > Software Testing > July 2006 > Winrunner - Web Text Checkpoint









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Winrunner - Web Text Checkpoint
Franco

2006-07-18, 8:03 am

Hi

I'd like to do a web text checkpoint for a website but i'm not able to
select the text (Javascripted)

Is it possible to do a web text checkpoint through the source code ?

Thanks in advance for your help.

Franco

Peng Zhang

2006-07-18, 8:03 am

You can find some functions for checkpoint in WinRunner Online Help.
It's possible to append checkpoint through source code. Do you use QuickTest
Professional (also a product of Mercury)? It's a good automated tool to test
web applications.


Peng

"Franco" <fralef.sf@gmail.com>
??????:1153147836.642061.34670@s13g2000cwa.googlegroups.com...
> Hi
>
> I'd like to do a web text checkpoint for a website but i'm not able to
> select the text (Javascripted)
>
> Is it possible to do a web text checkpoint through the source code ?
>
> Thanks in advance for your help.
>
> Franco
>





Franco

2006-07-18, 8:03 am

Hi Peng

thanks for the reply

I'm using Mercury WinRunner 7.5 @ work and I can't change for QuickTest
Pro.

How do you manage to do checkpoint through source code ? I can't find
it.

Thanks

Peng Zhang wrote:[color=darkred]
> You can find some functions for checkpoint in WinRunner Online Help.
> It's possible to append checkpoint through source code. Do you use QuickTest
> Professional (also a product of Mercury)? It's a good automated tool to test
> web applications.
>
>
> Peng
>
> "Franco" <fralef.sf@gmail.com>
> ??????:1153147836.642061.34670@s13g2000cwa.googlegroups.com...

sunitha

2006-07-19, 4:07 am

Hi,

You can use text checkpoints in your test scripts to read and check
text in GUI objects and in areas of the screen. While creating a test
you point to an object or a window containing text. WinRunner reads the
text and writes a TSL statement to the test script. You may then add
simple programming elements to your test scripts to verify the contents
of the text.

You can use a text checkpoint to:

1. Read text from a GUI object or window in your application, using
obj_get_text and win_get_text

2. Search for text in an object or window, using
win_find_text and obj_find_text

3. Move the mouse pointer to text in an object or window, using
obj_move_locator_text and win_move_locator_text

4. Click on text in an object or window, using
obj_click_on_text and win_click_on_text



Franco wrote:[color=darkred]
> Hi Peng
>
> thanks for the reply
>
> I'm using Mercury WinRunner 7.5 @ work and I can't change for QuickTest
> Pro.
>
> How do you manage to do checkpoint through source code ? I can't find
> it.
>
> Thanks
>
> Peng Zhang wrote:

Peng Zhang

2006-07-19, 4:07 am

Hi, Franco

I have a little experience in WinRunner, often use LoadRunner. I'm just sure
the way you said is available.
Specific implement please see sunitha's post.

Good Luck!

"Franco" <fralef.sf@gmail.com>
??????:1153210194.698994.9260@m73g2000cwd.googlegroups.com...
> Hi Peng
>
> thanks for the reply
>
> I'm using Mercury WinRunner 7.5 @ work and I can't change for QuickTest
> Pro.
>
> How do you manage to do checkpoint through source code ? I can't find
> it.
>
> Thanks
>
> Peng Zhang wrote:
>



Franco

2006-07-19, 8:10 am

Peng, Sunitha.. THANKS!
now I user "get text from object"
it's better now

thanks for sharing your knowledges!

Franco

Peng Zhang wrote:[color=darkred]
> Hi, Franco
>
> I have a little experience in WinRunner, often use LoadRunner. I'm just sure
> the way you said is available.
> Specific implement please see sunitha's post.
>
> Good Luck!
>
> "Franco" <fralef.sf@gmail.com>
> ??????:1153210194.698994.9260@m73g2000cwd.googlegroups.com...

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com