سؤال

بحثت عن ذلك لبعض الأيام الآن ولم يتم العثور على مورد جيد.

أريد إعداد مهمتين لشبكة السيلينيوم للعمل "بنقرة واحدة فقط" في CONEMU. أضفت مهمة وإعداد دير بدء التشغيل (حيث يوجد Jar Grid Selenium).

وفقا ل http://code.google.com/p/selenium/wiki/ GRID2 أحتاج إلى بدء مثيلتين من هذه الجرة مع معلمات مختلفة:

giveacodicetagpre.

و

giveacodicetagpre.

كنت أرغب في الحصول على مهمتين في CONEMU لبدء هذين الحالتين من السيلينيوم. حاولت إنشاء مهمة مع

giveacodicetagpre.

هذا دائما يقودني إلى متابعة الإخراج في CONEMU

giveacodicetagpre.

مع جرة في المهمة لن تفتح مسار المصدر. عند حذف الجرة مع المعلمات في المهمة، تفتح وحدة تحكم جديدة وتتنقل إلى المجلد الصحيح.

أنا ضائع تماما هنا - كيف يمكنني إعداد مهمة لتشغيل شبكة السيلينيوم تلقائيا؟

تحرير 1: أضفت لقطة شاشة من الإعداد الحالي (-> http:// tinyurl .com / q2mgkmx [كما ليس لدي سمعة كافية، قمت بتغيير عنوان URL StackoverFlow مع Tinyurl؛ لا شيء للخوف هنا؛)]). أعلم أن هذا خطأ، حيث يفتح كل إدخال في سطر جديد علامة تبويب جديدة في CONEMU. لكنني اعتقدت أن المعلمة ">" من شأنها تحديد علامة التبويب باسم "علامة التبويب الحالية" ...

edit 2: لمجرد الاكتمال: أقوم بتشغيل عميل 64bit على نظام التشغيل Windows 7.

هل كانت مفيدة؟

المحلول 2

I found a solution! yay

Screenshot of working hub and node: http://tinyurl.com/njkszq6 (Stackoverflow image)

I don't know if this might work better if set up in another way, but this should be fine for now. This is the setup I twiddled together from various sources:

>cmd /k color 4C & cd /d "D:\Downloads\Programming\Selenium" -cur_console:t:Hub & java -jar selenium-server-standalone-2.40.0.jar -role hub

>cmd /k RenameTab "Node" & color 2A & cd /d "D:\Downloads\Programming\Selenium" -cur_console:s1TVn & java -jar selenium-server-standalone-2.40.0.jar -role node

Screenshot of ConEmu setup: http://tinyurl.com/pnfyta5 (Stackoverflow image)

This opens both console windows on top and bottom of ConEmu. I added color to both windows. And they both start the respective hub and node of Selenium.

I still don't know why Maximus' line of code did not do the magic trick. But it was a really good hint on where to head to.

@Maximus: If you can shed some light into this, I would appreciate it greatly!

Edit: I added Maximus' hints to the setup.

نصائح أخرى

giveacodicetagpre.
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top