SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Setting window dynamically by tag info

    Hi,
    To get usage of getChildren () method, I want to set window variable by getting tag info. Assume that I'm having window like MyPage.Mainframe
    Now I got tag info by using MyPage.Mainframe.getTag() like below.
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">[MainWin]R P M - Microsoft Internet Explorer/[BrowserChild]R P M/[BrowserChild]#6</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">How can I set the window variable, by this tag? I tried many ways. But no good result.
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">sTemp = &quot;MainWin(&quot;&quot;R P M - Microsoft Internet Explorer&quot;&quot.BrowserChild(&quot;&quot;R P M&quot;&quot.BrowserChild(&quot;&quot;#6&quot;&quot&quot;
    window wTemp = @(sTemp) // Not working</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Westlake Village, CA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Setting window dynamically by tag info

    Could you explain in more detail what you want to accomplish? I am not clear what your goal is.

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Location
    pisctaway, NJ USA
    Posts
    188
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Setting window dynamically by tag info

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">window w = Browser(&quot;xx&quot;&quot.BrowserChild(&quot;yyy&quot.BrowserChild(&quot;#6&quot</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">

  4. #4
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Setting window dynamically by tag info

    Hi,
    Originally posted by ssellman:
    Could you explain in more detail what you want to accomplish? I am not clear what your goal is.
    <font size="2" face="Verdana, Arial, Helvetica">Thanks for your reply. I can get the tag info from my test identifier.
    For example, my test identifier is MyApp.Mainframe and the tag info is

    [MainWin]R P M - Microsoft Internet Explorer/[BrowserChild]R P M/[BrowserChild]#6


    But I want to form a window variable dynamically by using this tags.
    Like ==&gt; Browser.BrowserChild("R P M").BrowserChild("#6")

    Thats what my aim. Goal is to achieve objects in the actual order for getChildren() method (You can see my prev post - Getting Child objects as per actual order).
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  5. #5
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Setting window dynamically by tag info

    Hi Pontoriero,
    Originally posted by Pontoriero:
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">window w = Browser(&quot;xx&quot;&quot.BrowserChild(&quot;yyy&quot.BrowserChild(&quot;#6&quot</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
    <font size="2" face="Verdana, Arial, Helvetica">This I know. But I want to form a window value by getting the tag info. I'm trying to use @ operator and planning to prepare some functions to achieve this....
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  6. #6
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Setting window dynamically by tag info

    Originally posted by tmpalaniselvam:
    Hi,
    To get usage of getChildren () method, I want to set window variable by getting tag info. Assume that I'm having window like MyPage.Mainframe
    Now I got tag info by using MyPage.Mainframe.getTag() like below.
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">[MainWin]R P M - Microsoft Internet Explorer/[BrowserChild]R P M/[BrowserChild]#6</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">How can I set the window variable, by this tag? I tried many ways. But no good result.
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">sTemp = &quot;MainWin(&quot;&quot;R P M - Microsoft Internet Explorer&quot;&quot.BrowserChild(&quot;&quot;R P M&quot;&quot.BrowserChild(&quot;&quot;#6&quot;&quot&quot;
    window wTemp = @(sTemp) // Not working</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
    <font size="2" face="Verdana, Arial, Helvetica">try:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">sTemp = &quot;MainWin(&quot;&quot;R P M - Microsoft Internet Explorer&quot;&quot.BrowserChild(&quot;&quot;R P M&quot;&quot.BrowserChild(&quot;&quot;#6&quot;&quot&quot;
    window wTemp = AnyWin(sTemp)</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 7.14%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 11:18 AM.

Copyright BetaSoft Inc.