Blog

  • Working with Objects, Variables, and Code in TruClient – Part 4

    Posted on October 31, 2017 by Tony Gartrell

    Introduction to TruClient – Part 1
    Recording in TruClient – Part 2 
    Enhancing a TruClient Script – Part 3 

    XPath

    Objects can be identified several ways in TruClient.  The recommended way is to use Automatic whenever possible.  Unfortunately, this doesn’t always work.  One of the best solutions is to use XPath.  Under the Object sections you have the ID Method.  This is usually set to Automatic.  You can also change this to XPath, which allows you to see the XPath value or to JavaScript which allows you to Read Entire Entry

  • Enhancing a TruClient Script – Part 3

    Posted on October 31, 2017 by Tony Gartrell

    Introduction to TruClient – Part 1
    Recording in TruClient – Part 2
    Working with Objects, Variables, and Code in TruClient – Part 4 

    Parameters

    Define your parameters just like you normally would for an HTTP script.
    There are several ways you can use parameters in a script.  The easiest way is to change the argument section of the step is to use the parameter from Plain to JavaScript.

    Select the text you want to parameterize and right click it.  From the menu, you can create a new parameter or select from Read Entire Entry

  • Recording in TruClient – Part 2

    Posted on October 31, 2017 by Tony Gartrell

    Introduction to TruClient – Part 1
    Enhancing a TruClient Script – Part 3
    Working with Objects, Variables, and Code in TruClient – Part 4  

    Recording in TruClient

    First add a new script using the TruClient – Web protocol.  To record a script, you’ll need to select what browser you want to use.  On the toolbar, you’ll see a drop down next to the Develop Script button.  Select which browser you would like to use.  I suggest doing most of the scripting with Firefox since it seems to be the most mature of the TruClie Read Entire Entry

  • Introduction to TruClient – Part 1

    Posted on October 31, 2017 by Tony Gartrell

    Recording in TruClient – Part 2
    Enhancing a TruClient Script – Part 3
    Working with Objects, Variables, and Code in TruClient – Part 4 

    First, please don’t confuse TruClient with the Ajax – Click and Script protocol.  These are two totally different protocols based on completely different technology.  Click and Script was an early attempt at making a script that didn’t need traditional correlation.  It never was highly adopted and I don’t think it was well understood.  In version 11 of LoadRunner that all changed.  H Read Entire Entry