DCSIMG
Development,Web - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » Development » Web (RSS)
מפגש קבוצת ALM בנושא אוטומציה ב–Visual Studio 2012
בשנתיים האחרונות שאני שומע רק על Coded UI  ב – Visual Studio אבל יש עוד כ”כ הרבה מעבר, במפגש הקרוב אני אדבר על כל יכולות האוטומציה ב – Visual Studio 2012 עבור מפתחים ואנשי אוטומציה. נדבר על Unit Test ויכולת ה – Fakes החדשה שמגיעה עם Visual Studio 2012 (מחליף את Pex & Moles) ממשק Web Test Manager שמגיע עם Update 2, אשר מאפשר עבודה עם בדיקות ללא MTM. חידושים ודרכים יעילות לכתיבת Coded UI ועבודה עם דפדפנים שונים כגון FireFox ו – Chrome. Web Performance Test Load Testing בנוסף לא כדאי להפסיד...
פיתוח משחקים ב JavaScript - מבוסס על משחק סופר 8 - חלק 4
בפוסט הקודם חלק 3 – פיתוח משחקים ב – JavaScript דיברנו על איך להזיז את הדמות במרחב המשחק ואיך לשנות את כיון התמונה שתתאים לכיון שהדמות הולכת אליו. בפוסט הזה נדבר על יצירת אווירה (רקע ואלמנטים נוספים) למשחק, לא סתם איך להוסיף תמונות רקע נדבר על איך לגרום לרקע לנוע יחד עם הדמות עלל מנת ליצור תחושה של תנועה מתמשכת. בפוסט זה נשתמש בספריה נוספת שנקראת – PreloadJS , שגם שייכת לסט הספריות של Create JS. (עד עכשיו השתמשנו ב – EASE JS שגם משתייכת לשם) ספריית Preload JS, מאפשרת טעינה של קבצי מוסיקה, תמונות...
פיתוח משחקים ב JavaScript - מבוסס על משחק סופר 8 - חלק 3
בפוסט הקודם חלק 2 בפיתוח משחקים ב – JavaScript דיברנו על מה זה  Sprite ואיך בעזרת ספרייה EASE JS להציג רצף תמונות מאותו מקבץ תמונות על מנת להציג אנימציה למשתמש. בפוסט הזה נדבר על איך להזיז את הדמות במרחב על פי הפעולה שהדמות מבצעת. המשימה הראשונה שלנו היא להזיז את הדמות במרחב המשחק, על מנת לבצע זאת נשנה את פונקציית tick באופן הבא: ראשית, נגדיר תחום משחק – תחום המשחק ימנע מהדמות שלנו לבצע מגבולות המשחק. בתוך פונקציית tick נוסיף את הקוד הבא: if (player.x >= id( "gameCanvas" ).width...
פיתוח משחקים ב JavaScript - מבוסס על משחק סופר 8 - חלק 2
בפוסט הקודם חלק 1 – פיתוח משחקים ב – JavaScript דיברנו על פיתוח משחקים ב – JavaScript בעזרת ספרית EASE JS, ספריה המאפשרת לנו לעבוד עם אוביקט Canvas של HTML 5 בצורה קלה ונוחה. בפוסט הקודם הדגמתי איך בצורה קלה נוכל להשתמש באוביקט Stage על מנת להכיל את כל האלמנטים של המשחק ושימוש ב – Ticker על מנת לעדכן את האלמנטים בתוך לולאת המשחק. הפוסט הזה ירחיב את הנושא ונתקדם למימוש פעולות של השחקן עד ידי הפעלת אנימציה ספציפית לכל פעולה. לפני שאנחנו נכנסים לקוד צריך להבין להכיר אוביקט חשוב שנקרא – Sprite: Sprite...
פיתוח משחקים ב JavaScript - מבוסס על משחק סופר 8 - חלק 1
פיתוח משחקים בשבילי זה תחביב ואולי אפילו קצת יותר, אין לי דרך יותר טובה לנסח את זה – זה פשוט מגניב!!! פיתוח משחקים כמעט תמיד הופך למשימה מאוד מורכבת, ככל שרוצים להגיע לרמה גבוה יותר של משחק, אבל בשביל דברים פשוטים אפשר בקלות להתחיל לפתח משחקים לבד ובכל שפה שתרגישו נוח לפתח, אני חושב שלא קיימת שפה שבה לא נוכל לפתח משחקים (חלק אולי פחות מרשימים – אבל בהחלט אפשרי). אין מחקר שמוכיח זאת אבל היום השפה הפופולרית ביותר היא כנראה JavaScript, כמובן בגלל האינטרנט וכניסתו של HTML 5 כתקן עולמי וכמובן זה יכול...
How To: Detect Mobile Device Users In Your Web Site – JavaScript
Tweet Today everything is about Mobile Devices, users are using their tablets and phones to view web sites. Some web sites has a mobile application or just what to inform the user about a related mobile application. So the question is how to inform the user about a mobile application related to a specific site? You can put some links in your site and maybe the user will click on those links and will be redirect to your mobile application, but I want more – I want my site to detect if the user comes...
Email Confirmation - ASP.NET MVC Web Application
Tweet In my previous post on ASP MVC I showed How To Add Captcha to ASP MVC Web Application, but even if you use captcha you still want to make sure the user email is real and not just a fake one. In order to make sure the user has gave you his real email you need to use Email Confirmation mechanism to your site. ASP MVC is doing some of the work for us, when a user is register to your site is assign with a unique ID (Guid) property called -  ProviderUserKey I’ll use this value to verify the...
Web Test Manager For TFS 2010
Couple of months ago Sela Collage were a sponsor in Microsoft ALM Summit in Seattle , there we announced on ALM Products and the first version of Web Test Manager - Innovative approach to managing and running your tests - Any Test – AnyWhere - Anytime (by Everyone) under TFS 2010. WTM = Manage your tests directly from your browser in TFS 2010 Now, for the first time you can manage your tests without the need for any local installation, WTM is a web application integrated in VS 2010 Team Web Access...
Sela Dev Days - MTM, Automation and Load Testing Lectures
CodeProject Yesterday I had the pleasure to give a Full day lecture about Microsoft Test Manager, Unit Tests, Web Test, Coded UI Test and Load Testing. We started with a short talk about ALM and ways to improve your development and Testing process using Agile, CMMI and Scrum, then we apply this to how should we work with Microsoft Test Manager with different methodologies (Scrum etc) to create better Test Coverage and better experience for Tester and Developer alike. After we played with Microsoft...
בואו ללמוד על בדיקות ידניות, אוטומציה ועומסים בכנס המומחים של סלע
בתאריכים ה – 26-30/6 מכללת סלע תערוך כנס עם 25 סדנאות בנות יום מלא, 15 מומחים מובילים בחמישה ימים עם הנושאים החמים ביותר!!! אני אעביר יום בנושא בדיקות שיכיל את הנושאים הבאים: בואו להכיר את עולם הבדיקות ב – Visual Studio 2010 ביום אחד מרוכז! בדיקות ידניות בעזרת Microsoft Test Manager - ניהול פרוייקט בדיקות במתודולוגית Scrum - עבודה עם סביבות וירטואליות - איסוף מידע אוטומטי בפתיחת תקלות - שליטה ומעקב על התקדמות הבדיקות - דוחות - ועוד - בדיקות Web Test - איך אפשר להקליט פרוטוקול http ו – https - שליפת...
WebTestPlugins - Why? and How
WebTestPlugins - Why? and How In my last post I’ve talked about Increase Web Test Reponses Size using Web Test Plugins, now I would like to go one step back and talk about what is Web Test Plugin and Why you may want to use it. Web performance tests plug-ins enable you to isolate and reuse code outside the main declarative statements in your Web performance test. A customized Web performance test plug-in offers you a way to call some code as the Web performance test is run. The Web performance test...
Increase Web Test Reponses Size
Increase Web Test Reponses Size I just visit a customer that has a problem doing Web Test on his Web Application, the problem were that the response was cut off before web test was able to receive all the data, when he looked at the response he saw the data from the server but no all the data came back. The response is almost 5mb and for some reason Web Test is unable to save all the data… Why? The reason is VS has a receive buffer that defaults to 1,500,000 bytes (1.5 megabytes) and it throws away...
Teched 2010 - Applied Software Testing with Visual Studio 2010 – Done
Teched 2010 - Applied Software Testing with Visual Studio 2010 – Done I’ll start saying – Thanks everyone who participate at my lecture in Teched Israel 2010, I’ll also like to say thanks to Tzvia Gitlin Troyna the ALM sessions manager and to Sela Group for helping and supporting me during that period. My Session was loaded with Information regarding Automated/Manual Testing in Visual Studio 2010 & Microsoft Test Manager and there is not doubt that the Testing Space in Visual Studio 2010 is the...
Tech-Ed 2010 – Applied Software Testing with Visual Studio 2010 – All In One
Tech-Ed 2010 – Applied Software Testing with Visual Studio 2010 – All In One Teched Israel 2010 is going to happen next month in Eilat between the 28-30 of November. On this Teched I’ll have the pleasure to present a session about Applied Software Testing with Visual Studio 2010 In this session I’ll demonstrate how to use the following: Microsoft Test Manager – Fast Forward Automation Web Performance Testing Load Testing Coded UI Testing Why? So YOU can do Automatic and Load Testing by yourself!...
HttpWebRequest and the Expect: 100-continue Header Problem
HttpWebRequest and the Expect: 100-continue Header Problem Today I had an irritating problem when using the HttpWebRequest to POST form data over Proxy-Auth using HTTP 1.1. When sending this request over SSL every thing was fine, but when I used POST I got this error - X-Squid-Error: ERR_INVALID_REQ 0 from the server. After sniffing each request and drill down to understand the problem I found that not all web servers handle HTTP header "Expect: 100-Continue" correctly. Who Add this Header...