IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

QTP-PCOMM Issue in SetText Method


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Tue Mar 06, 2012 12:23 pm
Reply with quote

Hi,
Am automating the Mainframe Screens(PCOMM emulator) through QTP.

am sending the text into the screen, using the

Set gobjautECLPS = CreateObject("PCOMM.autECLPS")
Set objMsgFileText = gobjautECLPS.autECLFieldList.FindFieldByRowCol(Row,Column)
objMsgFileText .SetText "S"

the QTP script runs fine in most of the machines , but fails in some machines(Not setting the value in the Screens).

Kindly let me know the reason for the fail or if any alternate command to set the text in Screen.

Regards,
Usha
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 06, 2012 12:49 pm
Reply with quote

Quote:
Kindly let me know the reason for the fail or if any alternate command to set the text in Screen.


such questions do not deserve any kind reply...
we do not belong to your organization, we do not have access to Your facilities, so we are not in a position to do any problem determination

furthermore You just told ... it does not work,
so the only kind/sarcastic reply You deserve is...
How bad, i sincerely hope that You will be able to fix it soon.

if You want good/useful answers learn to post <good> questions !

Quote:
the QTP script runs fine in most of the machines , but fails in some machines(Not setting the value in the Screens).


UYu have access to those machines, find out the differences in the setup
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 06, 2012 1:04 pm
Reply with quote

And beside Enrico's statements, this a not a windows forum.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Mar 06, 2012 9:56 pm
Reply with quote

Since you're asking about a mainframe emulator...

Things I have run into using PCOMM/QTP:

- You need to make sure you isolate the differences between sessions that work and ones that don't. Usually, different "machines" have different userids. In your case, the working users might have access to that field, while the non-working users do not.

- You need to check all of the links in the chain. When using QTP for mainframe scripting, there are probably more licenses involved than you realize. You need to make certain that non-working machines are working for other things using QTP. (ie did the script work up until this point?)

- PCOMM has it's own profile settings. You can send the same commands to the same screens and get different results based on keyboard layout defined on that one session. Check to make sure all of the PCOMM settings are the same on all machines.

- PCOMM has different versions. Make sure all of yours are the same.

- The connection properties of PCOMM can make a difference. If some machines are on a connection that does screen compression, the interface API may treat them differently. Check to make sure the network settings are the same on all machines.

- Windows settings can make a difference. Something as simple as the repeat speed can change how a QTP script works, especially for a SendText command. You can also get torpedoed by a left/right hand mouse change.

Bottom line...isolate isolate isolate. You have to assume NOTHING when you are debugging it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Facing ABM3 issue! CICS 3
Search our Forums:

Back to Top