Skip to main content

Questions tagged [vbscript]

VBScript (Visual Basic Scripting Edition) is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It is designed as a "lightweight" language with a fast interpreter for use in a wide variety of Microsoft environments.

Filter by
Sorted by
Tagged with
1 vote
0 answers
37 views

Test Complete Unable to load URL from Excel

Working on Test Complete Keyword driven framework, which is now migrated from Win7 to Win10. All the environment URLs configuration and actions are in Excel sheet. Issue: During execution once the ...
Himanil Gupta's user avatar
-1 votes
2 answers
3k views

Selenium vba XPath/css Element not found for

I need help! I'm trying to connect to this Webpage and interact with it via WebDriver. I managed to open the page but when I'm trying to interact I get this error. I tried to press this Link/Button ...
slick_tang_tang's user avatar
0 votes
1 answer
272 views

Code to automate a web form in SilkTest tool using VB/.NET Language? [closed]

I am new to Silk test and dont know VB or .NET coding. Please provide a sample code to automate a website/form in VB or .NET?
tester889's user avatar
1 vote
0 answers
78 views

Verify isempty for user defined datatype in VBS

In UFT, my code return nothing (In watch it'll show as empty - user defined datatype) And I am trying to validate returned value isempty or isnull But it's ignore the statements and going further. ...
SQA_LEARN's user avatar
  • 435
2 votes
1 answer
504 views

How to change the settings and add-ons in IE using VBScript?(without registry)

I am trying to update the IE settings like (Security level, popups, Zoom ... ) and also wanted to enable addons in "Manage addons". I wanted to updated those settings using VBscript/JavaScript with ...
SQA_LEARN's user avatar
  • 435
1 vote
1 answer
1k views

How to identify & choose unique properties for objects identification in QTP/UFT?

When I write test script (Descriptive programming) in QTP/UFT, I find difficult to figure out & choose unique properties for objects identification, now here I want to know that is there any way ...
Nitin Rastogi's user avatar
3 votes
1 answer
88 views

Compilation error on variable declaration in QTP

I just started to learn QTP 11.00 In one program I am getting one compilation error on this line on QTP tool Dim plus = 10 Here I am unable to understand this what is wrong with this line please ...
Nitin Rastogi's user avatar
0 votes
2 answers
5k views

Problems to execute a UFT script by a VBScript file

I'm facing a problem when I try to execute a UFT script using a VBScript file to call it. The code inside the .vbs file is below: dim uft Set uft = CreateObject("QuickTest.Application") uft.Visible =...
Natalia Ribeiro's user avatar
2 votes
1 answer
339 views

If condition passes, but the code is not executed

I'm facing a problem with my GUI test. I want to check if a certain screen of an application is loaded or not; for this I'm using a bitmap checkpoint and a test area checkpoint. I'm using both because ...
Natalia Ribeiro's user avatar
0 votes
1 answer
7k views

UFT 12.52 / VBScript - Test object exist, is visible and enabled before take an action

I'm automating tests using UFT 12.52 for an application. I captured the objects for a repository and then started to create a sequence of actions on the objects. However, there is a frequent problem....
Spark Wanted's user avatar
1 vote
1 answer
739 views

How to check property of JavaToolbar button with UFT/QTP?

There is a toolbar in the java application with buttons: ..., security, tools, login, logout. UFT object spy can reach down to a certain button, but in script (descriptive programming) UFT can only ...
Ivan Gerasimenko's user avatar
0 votes
1 answer
2k views

How to convert exponential number to normal number in qtp?

Getting some exponential value in qtp/uft while performing multiplication with huge numbers. But I want the exact decimal value of it. E.g.: I am getting something like 15525.22352000e25 I need ...
SQA_LEARN's user avatar
  • 435
0 votes
2 answers
1k views

How to Limit the number of decimals with out Rounding off in VBS/UFT

I want to limit the number of digits after decimal point, I am trying "FormatNumber" function but it's rounding the last number. Is there any other way to "FormatNumber" with out rounding off e.g: ...
SQA_LEARN's user avatar
  • 435
0 votes
2 answers
2k views

How to re run the test failed in batch runner programatically?

I have a certian number of scripts that i run in a batch runner. I want that if a test fails, it should run again once. i want to programatically re run the test incase it fails or enters a recovery ...
Sohaib Jamal's user avatar
4 votes
0 answers
133 views

how to add an existing script to uft using AOM/vbScript? [closed]

So I have a script which connects to QC and opens a test in UFT and runs it. The problem with this is that the open command closes the previously opened tests. I want to copy the file -> add -> ...
Sohaib Jamal's user avatar
0 votes
1 answer
1k views

UFT shows "The operation cannot be performed" message when setting cell data in checkbox in Java Table

UFT shows "The operation cannot be performed" message when setting cell data in Java Table: JavaWindow("Name1").JavaDialog("Name2").JavaTable("Name3").SetCellData 8, 0, 1
Ivan Gerasimenko's user avatar
0 votes
1 answer
35 views

I'm a beginner need guidance which software needs to be learnt to be an expert in vba automation

I'm a finance person want to automate things what we do in Excel and Outloook. Guide me, what language I need to learn to be a VBA expert. Br Uday
Uday Rao's user avatar
0 votes
2 answers
2k views

How to get color of java table row/cell with QTP/UFT (java swing application)?

I need to test that the color of java table row has changed to some specific value. But till now I see no solutions of getting this property. Let's assume that jTableObj is OR or DP representation of ...
Ivan Gerasimenko's user avatar
5 votes
3 answers
3k views

How to limit test execution time in UFT/QTP?

I came across some situations (twice in one day, and I see they will not be rare) when test can run infinite time. Like there is a wait realisation for some account operation but there is an error ...
Ivan Gerasimenko's user avatar
0 votes
1 answer
791 views

Why JavaObject can not be addressed with descriptive programming in UFT 12.52

I am trying to address JavaObject (JPanel) by means of descriptive programming (DP) JavaWindow("label:=some label").JavaDialog("title:=some title").JavaObject([descriptor]) I checked existence of ...
Ivan Gerasimenko's user avatar
0 votes
1 answer
767 views

QTP is not firing recovery scenario

There is a good QTP recovery scenario called "Any error": But still QTP is not firing recovery scenario in several cases (as I've found here): Script Errors Object Not in Object Repository (OR) ...
Ivan Gerasimenko's user avatar
3 votes
1 answer
316 views

In QTP 12.51, how to identify dynamical element generated using ajax/jquery form

In my Datatable three rows are present. After clicking on Add button new row is generated and I need to put input values from datatable. Problem: How to identify field of each row dynamically for ...
Ranjit Bhaumik's user avatar
2 votes
1 answer
2k views

How to select tab buttons in java tab panel with QTP/UFT?

I want to switch between tabs in Java application using QTP 11.0. The problem is that tab buttons are not seen by qtp object spy as separate objects, the whole tab pane is seen as JTabbedPane: Any ...
Ivan Gerasimenko's user avatar