In TruClient Vugen script is it possible to wait for a Button to become clickable. Currently in my script I am waiting for an object to exist, but its not very stable and some transactions keep failing because of it. Please help on the logic to wait for an element until it becomes clickable.
Wait For Object Clickable in Truclient Vugen script
616 views Asked by Mridul Tripathi At
1
There are 1 answers
Related Questions in PERFORMANCE-TESTING
- How to enter user input in jmeter console (without doing parameterization)
- Error:Vuser failed to initialize java_int.dll (Vugen/Loadrunner)
- Convert Neoload script to LoadRunner script
- is their any industry standard for performing 300K load test (Thermostat->HVAC system)?
- Performance degradation in Asynchronous paging
- JMeter parallel mq publishing request messages with unique sequence ID which needs to be validated against external system before being sent
- Extracting 3 values using json extractor
- correlate multiple values using json extractor
- Want to capture the response from the first validated sampler within a Random Order Controller
- How to decode the UTF-8 response into text in JMeter
- fbprophet how to adapt the date of my data to the prediction date and cross-validation
- How to boost the data distribution speed of stream tables in DolphinDB?
- How can I save reference Id In Jmeter? and generate it new in each iteration
- HTML Dashboard Throughput, Response Times and User Load
- K6 each VU with own test data
Related Questions in VUGEN
- Error:Vuser failed to initialize java_int.dll (Vugen/Loadrunner)
- Extract JSON data using JSON path
- Parallel calls response time in loadrunner
- I'm encountering an issue in VuGen while attempting to substitute the server-generated value "\x2D" with "-" within the correlation value
- VUGEN Search for a specific value in a JSON file on Object1 and then return Object2 if criteria matches
- I am trying to Execute the Performance Test in ALM 12.55 but I am seeing the below error:
- What protocol should I use for LoadRunner when recording windows based desktop application
- Loadrunner scripting
- Working with Unix Time stamp in Loadrunner
- how to use all ordinal values into web_submit_data, where the ordinal values are entityID's which are dynamic
- Able to connect to database via Oracle SQL Developer but fails to connect via Load Runner
- How to retrieve/store DB values in Load Runner?
- Why I am not able to record desktop/windows application using Vugen 12.60?
- Correlate in load runner with different type of response body
- LoadRunner - Authentication required, please use "web_set_user"
Related Questions in TRUCLIENT
- Why chromium does not display objects while running load test for Truclient script but objects displayed perfectly fine while running script in local?
- Wait For Object Clickable in Truclient Vugen script
- How can I simulate Tab Key and Enter Key press, using JavaScript for TruClient
- TruClient - Evaluate JS on Object to return array
- How to write Dynamic Transaction names with loop count in truclient
- How to set a custom download path in Chromium in Truclient protocol of Loadrunner
- How to call an external API in truclient protocol of loadrunner
- Loadrunner TC protocol
- Truclient object identification
- Press Space key inside a text box field using trueclient vugen Tool?
- Click on a link beside text in TruClient
- What could be the possible reason behind huge difference between response time of a page in chrome and same in chromium?
- replay failed to start see vugen log for more details - error when replayed vugen
- Need a way to close browser instance through truclient
- Is there any way to read what was printed to console programatically in JS? (For testing)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
how about using TruClient Descriptors as ID method? In case the element contains indication for when it is clickable (e.g. Class, Attribute, etc.) you could use that indication for object identification. TruClient should identify the object once the attribute is set and resume.
Another option could be to create some kind of click retry mechanism in order to execute the click once the button is clickable:
In case the object is clickable, steps 2-3 should pass and step 4 would break the loop. In case the object is not clickable, step 2 should fail with object identification error which would trigger step 3 and the internal continue step in order to try the click again. You can space out the retries by adding a simple wait step inside the catch block.