Posts

watir webdriver - How to select value from select list -

Image
i tried choose value select list. used code: browser.select_list(:id => 'isc_2w').select 'animal' but solution doesn't work. site can find select-list: http://www.smartclient.com/smartgwt/showcase/#featured_tile_filtering ok, first @ it's doesn't select-list, style select-list, but, can it: browser.element(:xpath, '//*[@id="isc_2y"]').click browser.element(:text, 'animal').click

RVM gems [ missing bin/ruby ] -

after executing rvm list following output: rvm rubies gems [ missing bin/ruby ] =* ruby-2.0.0-p645 [ x86_64 ] ruby-2.1.6 [ x86_64 ] ruby-2.2.1 [ x86_64 ] what gems [ missing bin/ruby ] means? does gems kind of system gemset? wasn't created me , don't know if can (or should) remove it. you've have installed rvm using code : curl -ssl https://get.rvm.io | bash -s stable --ruby . uninstall rvm using code: rvm implode once uninstalled, install rvm again using this: curl -l https://get.rvm.io | bash -s stable no more errors :d just had same problem , fixed :d

angularjs - Directive not working on chosen directive -

Image
i wrote simple directive : myapp.directive('input', function () { return { restrict: 'e', //scope: false, link: function (scope, elem) { if (scope.lang && elem.attr('type') === 'text') { elem.attr('lang', 'fa'); console.log(scope.lang); } } }; }); it's working fine, it's not working on chosen input search ? idea?

Not able to access Xml file when code is executed using Junit -

i working on "robotium junit" . have come across situation where, code not able find xml file on given path.(provided specified path correct). if run same code(file reading) normal java working fine. but when run code junit , code cannot find specified xml file. here code: refer public void test_insert(); import java.io.file; import java.io.ioexception; import com.robotium.solo.solo; import com.rohit.databse_crud.dbreader; import com.rohit.databse_crud.insert_act; import android.test.activityinstrumentationtestcase2; import android.util.log; @suppresswarnings("unchecked") public class initialbuttontest extends activityinstrumentationtestcase2 { private static final string launcher_activity_full_classname = "com.xyz.dat.splashactivity"; private static class launcheractivityclass; static { try { launcheractivityclass = class .forname(launcher_activity_full_classname); } catch (classnotfoundexception e) { ...

MARIE simulator: multiplication of two numbers using addition -

multiplication of 2 numbers 6 , 3 by, repeatedly addition of 3 6 times,using loop add 3 6 times , store result accumulator. input store x input store y loop, load x add multiply store multiply load y subt 1 store y skipcond 400 jump loop load multiply output halt x, dec 0 y, dec 0 one, dec 1 multiply, dec 0

mysql - Update model from database is not updating -

i working on solution .edmx file the environment is: vs 2013 entity framework 5.0.0.0 .net version 4.0 (so efw 4.40) sql server 5.1 mysql vs 1.1.4 mysql connector 6.4.4 i have added new field in table in model, when trying update model database, won't update actually, when prompted "choose database objects , settings", can't expand tables , views. any appreciated. one thing i've noticed ef model wizard won't appear if i'm using nuget because nuget pulls latest version of packages vs plugin installed once - there no error when happens; prompted connection , no wizard appears. here's scenario: i'm using mysql connector version 6.6.3 installed mysql server nuget updates driver package in project 6.9.8 on build wizard stops working because 6.6.3 != 6.9.8 to correct removed mysql references nuget , added them local machine. same version mysql connector , magically works again. hope helps.

jquery - Does ajaxify work locally? -

does ajaxify work live? say, doesn't work locally? i’m working on local site, have basic implementation , hasn't changed anything. yes, ajaxify can work locally also. library based on jquery. please check these points in code: you need replace urls sending request. you need check if have internet access (not sure may using external library too). you need add jquery library @ above of library. here more ajaxify .