SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML confuses SilkTest 5.0.3.x

    I'm getting XML Data via a JSP and needing to pass it to an HTMLTextField. I get the XML data just fine, but when I use SetText() to place that data in the textfield, SilkTest wants to interpret the < and > as a key rather than just a piece of the string I want to set in the textfield. The exact error message is "***Error: 'Customer' is not a valid key name" where <Customer> is the first item in the array I am needing to set in the textfield.

    Any thoughts on how to get Silk to just leave the data alone and set it like I asked? I've considered writing a method to strip off the < and >, but that has the potential of corrupting the data and really taints the test. The data needs to be passed on untouched, since the ability to send and receive this data is crucial to the success of the test.

    ------------------

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: XML confuses SilkTest 5.0.3.x

    I tried

    BrowserPage.HtmlTextField("#1").SetText("<11>")

    and it typed fine.



    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 08:54 PM.

Copyright BetaSoft Inc.