muyan8890 ·¢±íÓÚ 2009-4-3 15:01:14

QTP¶ÔJAVA¿Ø¼þµÄʶ±ðÎÊÌâ

¸÷룬ÎÊÌâÈçÏ£¨Á½¸ö£©:
ÎÊÌâÒ»£º
¼Öƽű¾ÈçÏ£º
Browser("Browser").Page("iSM_BSI20090113").JavaApplet("ISMmnApplet").JavaDialog("iSM").JavaButton("¤Ï¤¤(Y)").Click

ÐÞ¸ÄΪ£º
Browser("title:=Browser").Page("title:=iSM\_BSI20090113").JavaApplet("tagname:=ISMmnApplet").JavaDialog("title:=iSM").JavaButton("tagname:=¤Ï¤¤\(Y\)").Click

½á¹û¾ÍÕÒ²»µ½£¬´íÎóÈçÏ£º
Cannot identify the object "[ JavaButton ]" (of class JavaButton). Verify that this object's properties match an object currently displayed in your application

Õâ¸öÎÊÌâÔÚ±ðµÄjava¿Ø¼þÖÐÒ²¾­³£³öÏÖ£¬Ôõô½â¾ö£¿£¿£¿

ÎÊÌâ¶þ£º
javatree¿Ø¼þÈçºÎͨ¹ýÊ÷½ÚµãµÄÃû×Öȥʶ±ð½Úµã£¿²éÁË°ïÖú£¬ºÃÏñjavatreeûÓÐÈ¡µÃ½ÚµãÃû×ֵķ½·¨¡£

david208 ·¢±íÓÚ 2009-4-3 15:22:48

tagname:=¤Ï¤¤\(Y\)").
JavaButton("¤Ï¤¤(Y)") ºÃÏñ²»Ì«Ò»Ñù¶î

muyan8890 ·¢±íÓÚ 2009-4-3 16:02:42

Ô­ÌûÓÉ david208 ÓÚ 2009-4-3 15:22 ·¢±í http://bbs.51testing.com/images/common/back.gif
tagname:=¤Ï¤¤\(Y\)").
JavaButton("¤Ï¤¤(Y)") ºÃÏñ²»Ì«Ò»Ñù¶î
ʲôÒâ˼£¿
JavaButton("¤Ï¤¤(Y)") µÄtagnameÊôÐÔÖµÊǤϤ¤(Y)£¬ÒòΪÀ¨ºÅÊÇÌØÊâ×Ö·û£¬ËùÒÔתÒåÁËÏ£¬²»×ªÒÆд³Étagname:=¤Ï¤¤(Y)¸ü²»ÐеÄ

xavier_007 ·¢±íÓÚ 2009-4-3 16:48:18

¶Ô±ÈÒ»ÏÂÔËÐÐʱ°´Å¥µÄÊôÐԺ;²Ì¬ÊôÐÔ£¬¿´¿´ËûÃÇÒ»Ñù²»£¿
Ò³: [1]
²é¿´ÍêÕû°æ±¾: QTP¶ÔJAVA¿Ø¼þµÄʶ±ðÎÊÌâ