Many at times in Scripting we come across scenarios where we need to count the objects in the application or even highlight a child object like highlighting a text box or check and uncheck check boxes using scripting in QTP.
Below are some of the examples where in you can do different actions. For our example we are using Flight Reservation application as reference.
Below are some of the examples where in you can do different actions. For our example we are using Flight Reservation application as reference.
9 comments:
the example given here for checking and unchecking the checkboxes is giving an error:
The operation cannot be performed
Line (8): "chd_obj(i).Set "ON"".
Please suggest how to debug?
Will check and let you know
On a webpage, I had to use:
checkbox(i).Set("ON")
Hi,
I am automating a .Net application using QTP11.
I am trying to ensure that a combobox is not empty and I can select a particular value from the combobox.
During runtime, the combobox is identified as SwfTree with SwfToolbar as parent. The recorded script is given below:
SwfWindow("mywindow").SwfToolbar("SwfToolbar").SwfTreeView("SwfTreeView").Select "Favourites;my fav".
When I rerun this recorded script, though the SwfTree and SwfToolbar are present in OR,it fails with below error:
"Can not find the "SwfTreeView" object's parent "SwfToolbar" (class SwfToolbar.
Could somebody please guide me on this?
Thank you
Boost your career with salesforce dev training
mastering Apex, Lightning, and real-world development projects. Gain hands-on experience to become a certified Salesforce developer and excel in the tech industry.
Enroll in our power bi classes online
to master data visualization and business analytics at your own pace. Join interactive sessions and gain hands-on experience with real-world datasets.
salesforce administrator classes
provide comprehensive training to help individuals manage Salesforce platforms efficiently. These classes cover user management, workflow automation, and reporting skills essential for a Salesforce administrator role.
Learn data visualization and analytics with our comprehensive tableau course online
designed for beginners and professionals alike. Master interactive dashboards, reports, and data insights at your own pace from anywhere.
Excellent read! Strong database modeling course
ensures accuracy, performance, and reliability.
Post a Comment