Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all 1793 articles
Browse latest View live

MTM Scripts are not Working in UFT 11.5

$
0
0
Hi Floks,
This is vijay, we have directly migrated from QTP 11.0 to UFT 11.5 Version. Till 11.0 Version MTM(Multi Test Manager) is working but when we migrated to UFT 11.5
it is throwing an error saying that unable to run the scripts. my question here is do MTM is supported by UFT 11.5 , yes means do we need to install
any patch for this. Waiting for your reply. you can mail me on "nallapusalavijay@gmail.com"

Thanks&Regards
Vijay.Reddy

VB Script logic

$
0
0
If web page contains two buttons with the same name like "Submit" having the same properties, then how can we write the script for this to click the bottom or 2nd button?

Please do the needful.

Setting value in a WinObject

$
0
0
Hello,

I am having an issue with my application where I am trying to insert a value in a WinObject. The code is -

Code:
Browser("abc").Page("xyz").Frame("zzzzAIDGLKGG.VerticalContainer_7").WinObject("AVPageView").Type "03/20/2014"

It is basicaly a date box in a frame. But QTP records it as WinObject(AVPageView). It does not actually record the click in the date box. How can I enter date in the box? Is it possible to take that value from the datatable?

Thanks and any help would be appreciated.

Ansh123

Terminal Emulator

$
0
0
Hi there,

I have a terminal Emulator screen that shows only TEWindow and TEScreen. I am not able to spy TEField or TETextScreen. Hence i am using the settext method with the row number and column number.

Is ther any way that i can identiy TEField and TETextScreen?

Pros and Cons in using Self hosted UFT vs Cloud based Hosting

$
0
0
Hi Guys,
Can someone please explain me the pros and cons of self hosted UFT 11.5 vs Cloud based hosting?

Thanks
Arpan

qtp 11, Unable to prove the disappearance ofdynamic objects displayed on same screen.

$
0
0
I use QTP 11, Windows 7, IE 8.
In my application, there is a scenario that there are 3 webelements (like payrol, monthly, Annual). For each webelement that we select, a set of fields (webelements) are displayed below the weblement in the same screen. (ie., when a different webelement is clicked from the previous one, the fields corresponding to the previous webelement disappears and the fields corresponding to the new webelement appears).

So when I validate whether the fields corresponding to the non-selected webelement are not displayed, am getting the message "fields are DISPLAYED" which shoulnt be the case.

Please help me on how to handle this dynamic scenario.

Unable to set the Start date for SwfCalendar control-using SetDate or Type method

$
0
0
Hi,

I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.

code:

SwfWindow("Nex.*").SwfCalendar("dtpStartDate").SetDate "2-Apr-2009"
or
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").Type "4/2/2009"

/code:

Unable to set the Start date for SwfCalendar control-using SetDate or Type method

$
0
0
Hi,

I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.

code:

SwfWindow("Nex.*").SwfCalendar("dtpStartDate").SetDate "2-Apr-2009"
or
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").Type "4/2/2009"

/code:

Date function

$
0
0
Hi,
I need to replace the date value from a file. System will generate the date.
How can I write the code? Thanks.

code:

Date()

Open_File "File_name",Date(),"XX-XX-XXXX" 'Open_File is a function

/code:

Upgrade to UFT 12?

$
0
0
Curious if anyone has tried this yet. I am working on convincing upper management the need to upgrade from QTP 11 to UFT 12.

I know it is only a few days old now, but has anyone tried the new UFT 12 installation? Anyone try upgrading from QTP 11 to either 11.53 or better yet 12?

I don't want to lose my framework and script, and really need them to continue to run the nightly tests after the upgrade.

So - what is the good and the bad and anything to watch for.

Thanks,

Jamie

Using OR created in one system, not able to execute the test script in another system

$
0
0
Hi,
I am using QTP 11 trial version, IE 8.
I created OR for an application in particular system. Using that created OR in another system to execute the same test scripts, not even a single test script involving the created OR is getting executed.

Object is highlighted but is not getting recognized during test script execution.

When I try to Highlight the object , it getting highlighted. But am not able to execute the test script in another system.

PLEASE HELP ME SOLVE THIS AS SOON AS POSSIBLE AS THIS IS VERY URGENT.

Calling a function in a Test Script from a function library

$
0
0
Hi,

I have a function library that calls a function which is defined in a Test Script.

But its not working. Its giving an error message that the function was not found.
Can a function be called this way?


Thanks,
Anupam

QTP recognizing Oracle forms as Java objects

$
0
0
Hi Team,
I have an Oracle 10G forms application to be automated. My QTP 11 is equiped with Oracle and Java add-in. Though i select only Oracle add-in during the start up all the objects are identified as Java objects. Can anyone throw some light on this issue.

After a lot of research we found that the application java version should be same as QTP java version. Can anyone please confirm this statement and also please provide information on the java version that are supported by QTP 11.0.

Thanks
Shankar

Want to automate qc using qtp

$
0
0
i want to automate hp alm qc edition using with qtp but after login i am unable to locate objects
is there any suggestions to do

Comparing two excel Sheets whose columns names vary

$
0
0
Hi Sir/mam,
I have a scenario where i need to compare my data which is in External Excel sheet(Excel1) with Database Table.Here i would take all the values of database into another Excel sheet(Excel2).Now i need to compare both the Excel sheets whose columns name vary and Data in that is randomly arranged column wise.can anyone help me out.How to generate a script for this?
Thanks in Advance

Assigning object properties to a variable using dp

$
0
0
Hi
I am trying to assign object properties to variable using DP. below is the code am trying
Code:
googleSearchEdit="name:=q"
Browser("Creationtime:=0").Page("micclass=page").WebEdit(googleSearchEdit).highlight
Above code is working fine. But when i add one more property like index:=0 to the variable its not working

Code:
lnkInfoTab = "name:=YourInformation"&","&"index:=0"
Browser("Creationtime:=0").Page("micclass=page").Link(lnkInfoTab).Click
This time its not working. Can any help me out on this


Thanks in advance

QTP childObject

$
0
0
Hi,

I am using QTP11 with windows7 64 bit.
In my code I use the childObject method and in some cases it doesn't work.

I reproduce it with the below code and using file I generated with different number of the following link:
<a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a>

If I have 10100 the code print 10100 objects.
If I have 10300 the code print 0 objects and there is error.

How can this be solved ? Is there a limit to the number of objects or time limit ?

Thanks

Code:
Set d = Description.Create
d("micclass").value = "Browser"
Set r = Desktop.ChildObjects(d)
Set br = r(0)
Set d = Description.Create
d("micclass").value = "Page"
Set r =br.ChildObjects(d)
Set p = r(0)
Set d = Description.Create
d("micclass").value = "Link"
Set r =p.ChildObjects(d)
print r.count

QTP course

$
0
0
Hi,

i am Mainframe tester, but want to learn QTP.
if i took QTP course, will it add any value to my CV?

Way to take values from datasheet and output

$
0
0
Hi,

I would like to take the data from 2 columns in my datasheet and group them in groups of 17. So take the values from rows 1 to 17 from column A and B and write them out to the screen. Then do the same thing from row 18 to 34, etc etc until the last group has less than 17 (meaning its the end of the rows in the sheet).

Thinking of doing a loop and some sort of step 17 until i reach the count but not sure exactly how to go about it.

Thanks!

Exam is on QTP 11.0, but the version seems unavailable

$
0
0
Hi

It seems like (as per the certification FAQ) the exam will be based on UFT 11.0, but I tried to download a trail version of 11.0 without any luck. Apparently this version is not available for download. Wonder how does the certification thing work?

Any ideas, anyone?

Cheers
Aasife
Viewing all 1793 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>