»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

¾Èµå·ÎÀ̵å xpath Áú¹®ÀÔ´Ï´Ù.

  • Ä«Å°Æù
  • µî·ÏÀÏ 2016-06-13 17:50
  • Á¶È¸¼ö 327

ÃÖ»ó´Ü FrameLayoutÀÌ ½ÃÀÛÀÌ°í ¾Æ·¡ »çÁø¿¡ ¼±ÅõǾîÀÖ´Â ImageView ¸¦ xpath·Î ±¸ÇÏ°í ½Í½À´Ï´Ù.

 

±Ùµ¥¾Æ¹«¸® »ðÁúÇصµ µµ¹«Áö µÇÁú ¾Ê³×¿ä..

1465807744_H1wiTYZywp.png

 

Á¦°¡ Çغ»µ¥ ±îÁö´Â

String xpath = "//android.widget.RelativeLayout[contains(@resource-id, 'photo_album_item_layout') and @index='0']"          

 

+"/android.widget.ImageView[contains(@resource-id, 'photo_album_check_image') and @index='8']";

ÀÌ·±½ÄÀ¸·Î Çß½À´Ï´Ù. 

ÀÌ°Ç ¾îµð°¡ À߸øµÈ°Ç°¡¿ä?

 

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°
÷ºÎÆÄÀÏ
  • À̹ÌÁö 22.png
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û