SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9
  1. #1
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    BIG Ugly Post About Joining Tables

    Both code blocks below have an HtmlTalbe #7 in them but are two different functions and screens in our Web Banking Application. When I thought I had everything add to the frame file I tried to rerun the scripts that did work and it failed. The window that was loaded was the correct one but the system did not see the correct object on it, because it was using the wrong Table#7.

    Is there a way to say use this Table#7 if you see "Check Copy Request" or "Cancel Stop Payment" on the screen, and if not then use this Table#7.

    OR

    How is a good way to add un-related Tables to each other.

    THANKS,
    Bruce
    PS I hate Window Decelerations

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> [-] window BrowserChild MS100 // Main Summary defined at 1.00
    [ ] tag &quot;Welcome*&quot;// to MT Online Banking&quot;
    [ ] parent Browser
    [-] HtmlTable WF // Main Web Frame
    [ ] tag &quot;#7&quot;
    [-] HtmlColumn UAS // User Account Screen
    [-] multitag &quot;Welcome*&quot;//[ ] &quot;#1&quot;
    [+] HtmlTable HtmlTable1
    [ ] tag &quot;#1&quot;
    [+] HtmlColumn WelcomeSUSANWELLS
    [+] multitag &quot;Welcome, SUSAN WELLS&quot;
    [ ] &quot;#1&quot;
    [+] HtmlTable HtmlTable1
    [ ] tag &quot;#1&quot;
    [+] HtmlColumn HtmlColumn1
    [ ] tag &quot;#1&quot;
    [+] HtmlColumn WelcomeSUSANWELLS
    [+] multitag &quot;Welcome, SUSAN WELLS&quot;
    [ ] &quot;#2&quot;
    [+] HtmlColumn HtmlColumn3
    [ ] tag &quot;#3&quot;
    [+] HtmlColumn HtmlColumn4
    [ ] tag &quot;#4&quot;
    [+] HtmlLink JavascriptOpenBrowserWindow
    [+] multitag &quot;#1&quot;
    [ ] &quot;$javascriptpenBrowserWindow('?help?retail?html_help_bal_accou n&quot;
    [+] HtmlImage HttpsVoyagertestLayoutsIm
    [+] multitag &quot;#1&quot;
    [ ] &quot;$https:??voyagertest?layouts?images?helppage .gif&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">and

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"> [-] window BrowserChild CSPages // Customer Service Pages //HttpsVoyager31certCustomer
    [ ] tag &quot;Welcome*&quot;// to MT Online Banking&quot;
    [ ] parent Browser
    [-] HtmlTable Screen // HtmlTable7
    [ ] tag &quot;#7&quot;
    [ ] ////// THIS 'AccountPages' SERVICES ALL CUSTOMER SERVICE PAGES WITH AN ACCOUNT DROP-DOWN LIST BOX ON IT.
    [-] HtmlColumn AccountPages // StatementViewLinksSt
    [+] multitag &quot;#1&quot;//&quot;Statement View*&quot;
    [ ] &quot;#1&quot;
    [+] HtmlTable Header // HtmlTable1
    [ ] tag &quot;#1&quot;
    [-] HtmlColumn HeaderColumn // StatementView
    [-] multitag &quot;Statement View&quot;
    [ ] &quot;#1&quot;
    [-] HtmlTable HeaderTable // HtmlTable1
    [ ] tag &quot;#1&quot;
    [+] // HtmlColumn HtmlColumn1
    [ ] // tag &quot;#1&quot;
    [-] HtmlColumn Text // StatementView
    [-] multitag &quot;Statement View&quot;
    [ ] &quot;#2&quot;
    [+] // HtmlColumn HtmlColumn3
    [ ] // tag &quot;#3&quot;
    [+] // HtmlColumn HtmlColumn4
    [ ] // tag &quot;#4&quot;
    [+] // HtmlLink JavascriptOpenBrowserWindow
    [+] // multitag &quot;#1&quot;
    [ ] // &quot;$javascriptpenBrowserWindow('?help?retail?html_help_cs_statem e&quot;
    [+] // HtmlImage HttpsVoyager31certLayouts
    [+] // multitag &quot;#1&quot;
    [ ] // &quot;$https:??voyager31cert?layouts?images?helppa ge.gif&quot;
    [+] HtmlTable Links // HtmlTable2
    [+] multitag &quot;Statement Copy Request ? Order Copies of Cleared Checks ? View Cleared Checks*&quot;
    [ ] &quot;#2&quot;
    [ ]
    [+] HtmlColumn HtmlColumn1
    [ ] tag &quot;#1&quot;
    [+] HtmlText Links
    [+] multitag &quot;Links:&quot;
    [ ] &quot;#1&quot;
    [+] HtmlColumn HtmlColumn2
    [ ] tag &quot;#2&quot;
    [-] HtmlColumn LinkColumn // StatementCopyRequestOrder
    [-] multitag &quot;Statement Copy Request ? Order Copies of Cleared Checks ? View Cleared Checks&quot;
    [ ] &quot;#3&quot;
    [+] HtmlLink StatementCopyRequestLink // HttpsVoyager31certCustomer1
    [-] multitag &quot;Statement Copy Request&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?StatementCopy.a&quot;
    [+] HtmlLink OrderCopiesOfClearedChecksLink // HttpsVoyager31certCustomer2
    [-] multitag &quot;Order Copies of Cleared Checks&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?CheckCopy.aspx&quot;
    [+] HtmlLink ViewClearedChecksLink // HttpsVoyager31certCustomer3
    [-] multitag &quot;View Cleared Checks&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?CheckView.aspx&quot;
    [+] HtmlLink StopPayment // HttpsVoyager31certCustomer2
    [-] multitag &quot;Place a Stop Payment&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?StopPayment.asp&quot;
    [+] HtmlLink CancelStopPaymentRequest
    [-] multitag &quot;Cancel Stop Payment Request&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?CancelStopPayme&quot;
    [+] HtmlLink ViewStatements
    [-] multitag &quot;View Statements&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?StatementView.a&quot;
    [ ]
    [ ]
    [ ]
    [ ] ///
    [ ] ////INBOX
    [+] HtmlLink EmailUsWithQuestionsAboutBillPay // HttpsVoyager31certCustomer2
    [-] multitag &quot;Email Us with Questions about Bill Pay&quot;
    [ ] // &quot;#2&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?PaymentInquiry.&quot;
    [+] HtmlLink MTOutbox // HttpsVoyager31certCustomer3
    [-] multitag &quot;MT Outbox&quot;
    [ ] // &quot;#3&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?Outbox.aspx&quot;
    [+] HtmlLink MTInbox
    [-] multitag &quot;MT Inbox&quot; // BY HAND
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?Inbox.aspx&quot;
    [ ]
    [ ]
    [ ]
    [ ] ///PI
    [+] HtmlLink EmailUsWithQuestions //HttpsVoyager31certCustomer
    [-] multitag &quot;Email Us with Questions&quot;
    [ ] // &quot;#1&quot;
    [ ] &quot;$https:??voyager31cert?customerservice?messa ging?ContactUs.aspx&quot;
    [+] HtmlLink TransactionHistory //HttpsVoyager31certTransfer
    [-] multitag &quot;Transaction History&quot;
    [ ] // &quot;#2&quot;
    [ ] &quot;$https:??voyager31cert?transfers?Transaction History.aspx&quot;
    [ ]
    [ ]
    [ ]
    [ ] ///</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">

  2. #2
    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: BIG Ugly Post About Joining Tables

    Might want to turn tables off and only use them when you really need to test the layout of a table that performs some other purpose than just formatting things on the screen. Plays back faster too.

  3. #3
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    Run this:
    Print(BrowserChild("Welcome*").HtmlTable("#7").Htm lColumn("#1").GetTag())
    With each of the two relevant pages active and post the results. This may be the way, or a clue to a way, to differentiate between them.

    As far as combining them, it seems to be like the biggest problem is that "HtmlTable Header" has "#1" as its tag and so does "HtmlTable HtmlTable1", so they both can't be 'inside the first column of table #7' unless you give them different tags somehow.
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

  4. #4
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    This is what the print gave me....

    [ ] /[MainWin]Welcome to M&T Online Banking - Microsoft Internet Explorer provided by M&T Bank Corporation/[BrowserChild]Welcome to MT Online Banking/[HtmlTable]#7/[HtmlColumn]MT Classic Checking w?Interest
    [ ]


    Links: Transfers Loan Payments ? View Statements ? Place a Stop Payment
    [ ] Upcoming Transactions ($0.00) ? Export Data ? Order New Checks
    [ ]


    Account Classic Checking 1234 Relationship Ckg 1258 Classic Checking 1364 D

  5. #5
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    Turning off tables would make this a complete re-write, can't do it.

    Most everything works I can't re-record the window that is causing the problem.

  6. #6
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    Hmm. Well, this is definitely getting confusing.

    I tried to put this declaration together for you:
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">window BrowserChild Combined
    tag &quot;Welcome*&quot;
    parent Browser
    HtmlTable Table7
    tag &quot;#7&quot;
    HtmlColumn UAS
    multitag &quot;Welcome*&quot;
    &quot;#1&quot;
    HtmlTable ...
    ...
    HtmlColumn AccountPages
    multitag &quot;Links*&quot;
    &quot;#1&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">but based on the Print()s you posted, I am wondering one of #1's shouldn't be a #2, etc.

    Basically, my suggestion if this:
    * You can use GetTag() on lots of things to get back the tag that corresponds to the item you specify.
    * If you are using indices, #1, #7, etc, then you can 'get the tag of the 1st column in the 7th table and use it in an if-else construct, probably with MatchStr()
    * Thus, if the 1st column in the 7th table's tag has *Links* in it, then use Combined.Table7.AccountPages Otherwise, use Combined.Table7.UAS

    Does that make sense?
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

  7. #7
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    Hi Bruce,

    Can you post the offending code and 2-3 lines above and below it?

    As long as the indices do point to the same table and you are using correct identifiers, and the correct page is loaded, nothing should go wrong. I am not able to understand your problem.

    Thanks and Regards,
    Harshil

  8. #8
    Senior Member
    Join Date
    Aug 2003
    Location
    NY
    Posts
    708
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    Is there a possibility, that at one point, both the tables are present on the screen?
    Your problem seems to make sense to me only under that circumstance. In that case,
    the index for one of the table would change as Chris pointed out, however you can still
    use the childs tags to define your parent, to avoid confusion by silk and also use captions
    instead of indices.

    Thanks and Regards,
    Harshil

  9. #9
    Advanced Member
    Join Date
    Mar 2002
    Location
    Earth, USA, New York, Western
    Posts
    759
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: BIG Ugly Post About Joining Tables

    I re-did one of the tables and added to the text that is on the screen and I removed the #7 from it.

    It is working now but I don't want the problem to come back.

    I will be revisiting this matter latter.

 

 

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 10.00%
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 12:16 PM.

Copyright BetaSoft Inc.