SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 10 of 10
  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    HTML forms embedded in a traditional App - if anyone\'s interested

    User Aidy Rutter (AidyR@TrustMarque.com) posted:

    For Robot to recognise an HTML element (apart from loading the HTML
    extension) you've gotta run StartBrowser which kicks of a rational ActiveX
    TestControl. We however have HTML forms embedded in a C++ application and
    therefore we can't run StartBrowser.

    I rang up Rational and they give me a workaround and that is to insert the
    following line of code in each HTML doc

    <objectclassid="clsid:6DBCFB92-23A6-11D1-B45A-00C04FDC8027"


    Aidy


    ---

  2. #2
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    Note a few things.
    If you need to place that object reference in your HTML you CAN give it a height and width of 0. However, even at 0, if the object reference is in the BODY of the HTML the item will place a single colored pixel (red or green) into the doc and offset existing contents.

    What I found earlier was that this object reference tag can be placed in the <HEAD> section of the HTML instead of the BODY section and your existing HTML will not be moved or offset in any way.

    Lastly, Rational apparently uses Microsoft Active Accessibility to recognize HTML objects. If you have Active Accessibility installed on your machine then you should not need the object reference at all. Active Accessibility is part of the latest service packs or upgrades for W98 and NT(SP6a) and is suppose to be part of W2K.


    Carl

  3. #3
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    Forgot to mention...

    While Active Accessibility is part of the latest OS Service Packs, it can also be installed separately.


  4. #4
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Aidy Rutter (AidyR@TrustMarque.com) posted:

    Carl,

    So if I get sp6a installed on my NT4 workstation, that should do the job.
    Cos Robot is now coming to a freeze when it gets to an HTML form.

    Aidy


  5. #5
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    See my previous follow-up. You can install Active Accessibility separate from any service pack.

    Is your freeze problem the HTML form in general?
    Or, a particular control on the form.

    My machine here is currently having troubles with HTMLComboBoxes. I believe these were spawned from Satan herself.

    Other machines do not seem to exhibit this problem nearly as much, if at all.

    However, timing seems to be at play here. Sometimes, backing off on the time between commands and increasing the delay Multiplier (V2001a) reduces the problem. But for me, the only problem I have had is when attempting to select an item in the HTMLCombobox. I hate having to slow down EVERYTHING just because of a problem on one single activity.

    And changing this delay value programmatically before the ComboListBox Click doesn't seem to help. Don't know why, but it doesn't.

    My symptom is that upon the ComboListBox Click, Internet Explorer takes up 100% CPU resources and doesn't return back to Robot. I have to kill the Internet Explorer process to get my PC back. When it happens, it happens during both RECORD and any type of PLAYBACK. But it doesn't happen all the time. Only about 85% of the time.


    Carl

  6. #6
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Aidy Rutter (AidyR@TrustMarque.com) posted:

    Yeah, I got a PC lock exactly when I try to select an option from
    HTMLComboBoxes (during recording). I gotta completely switch the PC off.
    This only occurs when I kick off rbtstart.htm, so I reckon it's got
    something to do with the Rational .ocx it inserts.

    There's no playback for me as soon as I get to an HTML form.

    Aidy


  7. #7
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    Your RECORD problem is exactly like mine. The RECORD lockup is worse for me than at Playback. When it locks up during RECORD, the machine is hosed completely--as it is in your case

    But I don't think it is related to RBStart or StartBrowser because I don't consistently use those. Sometimes I do, sometimes I don't. With Active Accessibility it negated the need for the rbstart.htm and the use of the StartBrowser command.

    I should also say that this problem was not always here. I installed Active Accessibility because of recognition problems a while ago. It all worked great for quite some time and I had no apparent HTMLComboListBox Click problems.

    But then it seemed to suddenly all go to hell. And this was not as a result of any Rational Update or any other known changes that I implemented. It just stopped working about 85%-90% of the time.

    The only thing that taunts the back of my mind is an automated security update performed on the machine. I cannot say for certain that the update happened in the suspect timeframe. But I have this terrible suspicion...and no knowledge of how to attempt to back out the update to see if it could be the culprit.

    I do know that uninstalling/reinstalling Rational, Repairing IE, and reinstalling the NT SP6a gets rid of the problem for a short time (minutes to hours), but then it just comes back again.

    Very Frustrating.


  8. #8
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Aidy Rutter (AidyR@TrustMarque.com) posted:

    So, do you think we are both suffering from an automated security update?


    Aidy


  9. #9
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Aidy Rutter (AidyR@TrustMarque.com) posted:

    Installed MS Active Accessibility. Try to record - hit-a-listbox and my PC
    is completely frozen. Can't test like this. Raised an issue with Rational
    Tech Support.

    Aidy


  10. #10
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HTML forms embedded in a traditional App - if anyone\'s interested

    User Carl Nagle (Carl.Nagle@sas.com) posted:

    I wouldn't know about your side. But it would be nice to know. The security update I'm suspicious of is, I believe, the one for the fake Microsoft Signed Certificates.

    Our security updates are pushed to our machines via an internal login process script. It was not one of those "seek and destroy" helper agents from Microsoft.

    But, remember, this is only speculation. I really have no confirmed idea why this machine just started hating HTMLComboListBox Click.


 

 

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 13.64%
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 09:21 AM.

Copyright BetaSoft Inc.